foldkit-agent-native 0.6.2 → 0.7.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/README.md CHANGED
@@ -155,7 +155,7 @@ refuses it at call time.
155
155
  Application refusals are returned as application output, not thrown as adapter
156
156
  crashes:
157
157
 
158
- ```ts
158
+ ```ts sketch
159
159
  { ok: false, message: '…' }
160
160
  ```
161
161
 
package/dist/index.d.mts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { Agent } from "foldkit-agent";
2
2
  import { ActionTool } from "@agent-native/core/server";
3
3
  import { StandardJSONSchemaV1, StandardSchemaV1 } from "effect/StandardSchema";
4
- //#region src/actions.d.ts
5
4
  type AgentRuntime = Agent.AgentRuntime<any, any, any, any, any>;
6
5
  /**
7
6
  * The request context Agent Native hands an action.
@@ -93,6 +92,5 @@ declare const actions: <ByName = Record<string, unknown>>(options: ActionsOption
93
92
  declare namespace agentNative_d_exports {
94
93
  export { ActionEntry, ActionRegistry, ActionResult, ActionRunContext, ActionsOptions, actions };
95
94
  }
96
- //#endregion
97
95
  export { type ActionEntry, type ActionRegistry, type ActionResult, type ActionRunContext, type ActionsOptions, agentNative_d_exports as AgentNative };
98
96
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/actions.ts","../src/agentNative.ts"],"mappings":";;;;KAKK,eAAe,MAAM;;;;;;;;;UAUT;WACN;WACA;;;UAIM;WACN;;WAEA;;WAEA;WACA;;;UAIM;WACN;aACE;aACA,YAAY,YAAY;;WAE1B,MAAM,eAAe,UAAU,qBAAqB,QAAQ;;WAE5D,QAAQ,qCAAqC;WAC7C;aAAiB;;;WAEjB;;;;;;;;;WASA;;UAwBM,eAAe,SAAS;WAC9B,YAAY,MAAM,0BAA0B;;;;;;;;;;WAW5C,iBAAiB,SAAS,qBAAqB,eAAe,QAAQ;;WAGtE;;;;;;;;;;;;;;;;;;;;;;;;;;;KA4BC,eAAe,SAAS,gDAAgD,SAChF,eAAe,2BACH,cAAc,SAAS;cAE1B,UAAW,SAAS,yBAAuB,SAC7C,eAAe,YACvB,eAAe"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/actions.ts","../src/agentNative.ts"],"mappings":";;;KAKK,eAAe,MAAM;;;;;;;;;UAUT;WACN;WACA;;;UAIM;WACN;;WAEA;;WAEA;WACA;;;UAIM;WACN;aACE;aACA,YAAY,YAAY;;WAE1B,MAAM,eAAe,UAAU,qBAAqB,QAAQ;;WAE5D,QAAQ,qCAAqC;WAC7C;aAAiB;;;WAEjB;;;;;;;;;WASA;;UAwBM,eAAe,SAAS;WAC9B,YAAY,MAAM,0BAA0B;;;;;;;;;;WAW5C,iBAAiB,SAAS,qBAAqB,eAAe,QAAQ;;WAGtE;;;;;;;;;;;;;;;;;;;;;;;;;;;KA4BC,eAAe,SAAS,gDAAgD,SAChF,eAAe,2BACH,cAAc,SAAS;cAE1B,UAAW,SAAS,yBAAuB,SAC7C,eAAe,YACvB,eAAe"}
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.mjs";
1
+ import { t as __exportAll } from "./rolldown-runtime-D8jQpDG7.mjs";
2
2
  import { Agent } from "foldkit-agent";
3
3
  import { Effect, Schema } from "effect";
4
- //#region src/actions.ts
4
+ // src/actions.ts
5
5
  /**
6
6
  * A Standard Schema that both validates and advertises its shape.
7
7
  *
@@ -61,10 +61,8 @@ const actions = (options) => {
61
61
  }
62
62
  return entries;
63
63
  };
64
- //#endregion
65
- //#region src/agentNative.ts
64
+ // src/agentNative.ts
66
65
  var agentNative_exports = /* @__PURE__ */ __exportAll({ actions: () => actions });
67
- //#endregion
68
66
  export { agentNative_exports as AgentNative };
69
67
 
70
68
  //# sourceMappingURL=index.mjs.map
@@ -1,4 +1,4 @@
1
- //#region \0rolldown/runtime.js
1
+ // \0rolldown/runtime.js
2
2
  var __defProp = Object.defineProperty;
3
3
  var __exportAll = (all, no_symbols) => {
4
4
  let target = {};
@@ -9,5 +9,4 @@ var __exportAll = (all, no_symbols) => {
9
9
  if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
10
10
  return target;
11
11
  };
12
- //#endregion
13
12
  export { __exportAll as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foldkit-agent-native",
3
- "version": "0.6.2",
3
+ "version": "0.7.0",
4
4
  "description": "Agent Native adapter for foldkit-agent. Compiles an exposed Foldkit contract into Agent Native actions.",
5
5
  "keywords": [
6
6
  "foldkit",
@@ -39,18 +39,18 @@
39
39
  ],
40
40
  "peerDependencies": {
41
41
  "@agent-native/core": "0.214.0",
42
- "effect": "^4.0.0",
43
- "foldkit": "^0.169.0",
44
- "foldkit-agent": "^0.8.2"
42
+ "effect": "^4.1.0",
43
+ "foldkit": "^0.170.0",
44
+ "foldkit-agent": "^0.9.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@agent-native/core": "0.214.0",
48
- "@effect/platform-browser": "^4.0.5",
49
- "effect": "^4.0.5",
50
- "foldkit": "0.169.0",
48
+ "@effect/platform-browser": "^4.1.0",
49
+ "effect": "^4.1.0",
50
+ "foldkit": "0.170.0",
51
51
  "tsdown": "^0.23.1",
52
52
  "typescript": "7.0.2",
53
- "foldkit-agent": "0.8.2"
53
+ "foldkit-agent": "0.9.0"
54
54
  },
55
55
  "scripts": {
56
56
  "build": "tsdown",