Repository navigation
PocketOne v0.0.1-alpha.13 #12
benallfree
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Read the announcement on the blog
Install or upgrade
New install on macOS or Linux:
That's Homebrew; the formula comes from pocketonehq/homebrew-tap.
New install on Windows:
That's Scoop; the manifest comes from pocketonehq/scoop-bucket. To install without Scoop, see Windows without Scoop.
Without Homebrew, on macOS or Linux:
curl -fsSL https://pocketone.dev/install.sh | shOn Linux it installs the
.deb,.rpmor.apkpackage below for your system, which adds a systemd service (Run PocketOne on a Linux server covers setting it up); on macOS it putspocketonein/usr/local/bin.Upgrade:
brew update && brew upgrade pocketonebrew updaterefreshes the tap first: Homebrew does that on its own only once a day, so a plainbrew upgradecan miss a release that's hours old.On Windows with Scoop,
scoop update pocketone. If you used the install script (or a Linux package), run the script again. Otherwise, runpocketone upgrade(it keeps the old executable aspocketone-<version>,pocketone-<version>.exeon Windows) or download the zip below. Check the Upgrading section below, if this release has one, before you upgrade.What's in this release
Highlights
await $llm.text.completeAsync({ model: "vultr/glm-5.3", prompt })in page code. Every result says what it cost, every call is recorded, and limits in Settings → LLM (whole app, each user, each guest) stop a bill before it happens. Voice cloning and reference images are in too (AI in your app). Agent and its built-in model are gone (see Upgrading).enrich: ["help"]on a completion or chat sends the best passages with the question. The newaskstarter kit builds on it:pocketone pages create mydocs --starter ask(LLM Search).about.tsbesideabout.etsis that page's code, and a.tswith no template is an endpoint;+page.tsand+api.tsare gone (see Upgrading). Async routes can wait up to 15 minutes,setTimeoutand friends work, andctx.realtime.subscribe()streams record changes to the visitor with the collection's rules applied (Pages).$kv.get/set/delete/listkeeps named JSON values without a collection or a migration, on by default (Key-Value Store).Upgrading
+page.tsto the name of the page it serves (products/[id]/+page.tsbesideindex.etsbecomesproducts/[id]/index.ts) and each+api.tsto<folder>.tsbeside its folder.$agent.complete(opts)toawait $llm.text.completeAsync({ model: "<provider>/<model>", ...opts })in an async handler (every$llmcall that reaches a provider is async). The built-in model,pocketone.yaml'sagent:section and a multisite host's shared model are gone. Agent Chat is now LLM Chat ($llm.chat).Added
$llm.<kind>in page code and thellm.*contracts. Every call names its model asprovider/model.Changed
pocketone pages createsay "PocketOne app" (a new app's title and heading read PocketOne). ThepocketpagesAgent Skill is folded into thepocketoneskill (pages.md); reinstall the plugin to drop the old skill.Fixed
Extensions
This discussion was created from the release PocketOne v0.0.1-alpha.13.
All reactions