@pplethai/cli 0.14.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pplethai/cli",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,6 +9,9 @@ dist/
9
9
  .cursor/rules/pple-platform.mdc
10
10
  .pple/rules.md
11
11
  .pple/guidance.json
12
+ .claude/skills/pple-durable-objects/
13
+ .agents/skills/pple-durable-objects/
14
+ .pple/durable-object-guidance.json
12
15
  .pple/registry/
13
16
  .pple/registry.json
14
17
  .pple/registry-check.json
@@ -59,6 +59,20 @@
59
59
  //
60
60
  // "triggers": { "crons": ["0 1 * * *"] },
61
61
 
62
+ // Durable Objects. Export the class from src/index.ts (the Worker's main
63
+ // module). Local `npm run dev` emulates it with no extra setup: this binding
64
+ // and the migration are enough, and nothing is provisioned in the cloud.
65
+ // A deployed app receives the binding only while it holds Durable Object
66
+ // access — ask a Platform Admin in an App Note (บันทึก). New classes are
67
+ // SQLite (`new_sqlite_classes` only). Uncomment both blocks together:
68
+ //
69
+ // "durable_objects": {
70
+ // "bindings": [{ "name": "COUNTER", "class_name": "Counter" }]
71
+ // },
72
+ // "migrations": [
73
+ // { "tag": "v1", "new_sqlite_classes": ["Counter"] }
74
+ // ],
75
+
62
76
  "vars": {
63
77
  // PPLE ID (identity). The Worker validates bearer tokens against this.
64
78
  "SSO_BASE_URL": "https://id.peoplesparty.or.th",