create-donghanh 0.4.0 → 0.5.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": "create-donghanh",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Scaffold a donghanh project — conversational UI with JSX",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -11,8 +11,8 @@
11
11
  "widgets": "vite build"
12
12
  },
13
13
  "dependencies": {
14
- "@donghanh/core": "^0.2.0",
15
- "@donghanh/hono": "^0.2.0",
14
+ "@donghanh/core": "^0.3.0",
15
+ "@donghanh/hono": "^0.3.0",
16
16
  "@donghanh/config": "^0.1.0",
17
17
  "@donghanh/widget": "^0.1.0",
18
18
  "better-auth": "^1.4.0",
@@ -24,4 +24,9 @@ export default registerOperation(ListItems, {
24
24
  instruction: "Call this to see all items.",
25
25
  input: {},
26
26
  responseKey: "listItems",
27
+ // auth: "none" marks this op as callable anonymously. Your /public/query/list-items
28
+ // route will serve it without a Bearer token — handy for ChatGPT Actions whose
29
+ // OpenAPI security is per-path. Trade-off: the op cannot read a user-specific
30
+ // context. Switch to "optional" if you want both (anon by default, richer when linked).
31
+ auth: "none",
27
32
  });
@@ -10,8 +10,8 @@
10
10
  "test": "bun test"
11
11
  },
12
12
  "dependencies": {
13
- "@donghanh/core": "^0.1.1",
14
- "@donghanh/hono": "^0.1.1",
13
+ "@donghanh/core": "^0.3.0",
14
+ "@donghanh/hono": "^0.3.0",
15
15
  "hono": "^4.7.0"
16
16
  },
17
17
  "devDependencies": {