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
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"widgets": "vite build"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@donghanh/core": "^0.
|
|
15
|
-
"@donghanh/hono": "^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
|
});
|