@tangle-network/agent-app 3.0.21 → 3.0.23
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/dist/agent-profiles/d1.js +3 -3
- package/dist/agent-profiles/index.js +3 -3
- package/dist/chat-routes/default-backend.d.ts +5 -0
- package/dist/chat-routes/index.js +5 -5
- package/dist/{chunk-LS65AEPX.js → chunk-3JQCVL2T.js} +3 -3
- package/dist/{chunk-UTQ2FPDG.js → chunk-BDP5IC6Q.js} +2 -2
- package/dist/{chunk-O23ED5XC.js → chunk-GD4ONMKJ.js} +2 -2
- package/dist/{chunk-PCFVN6KV.js → chunk-GP2BEEBJ.js} +2 -2
- package/dist/{chunk-5V3NHVM3.js → chunk-R32MULDK.js} +5 -5
- package/dist/{chunk-5V3NHVM3.js.map → chunk-R32MULDK.js.map} +1 -1
- package/dist/{chunk-NWZIC2ER.js → chunk-XCMTWZ36.js} +2 -2
- package/dist/{chunk-NWZIC2ER.js.map → chunk-XCMTWZ36.js.map} +1 -1
- package/dist/preset-cloudflare/index.js +2 -2
- package/dist/public-consultation/index.d.ts +1 -1
- package/dist/public-consultation/index.js +5 -5
- package/dist/sandbox/index.js +4 -4
- package/dist/tools/index.js +4 -4
- package/dist/work-product/index.js +2 -2
- package/package.json +3 -3
- /package/dist/{chunk-LS65AEPX.js.map → chunk-3JQCVL2T.js.map} +0 -0
- /package/dist/{chunk-UTQ2FPDG.js.map → chunk-BDP5IC6Q.js.map} +0 -0
- /package/dist/{chunk-O23ED5XC.js.map → chunk-GD4ONMKJ.js.map} +0 -0
- /package/dist/{chunk-PCFVN6KV.js.map → chunk-GP2BEEBJ.js.map} +0 -0
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
ProfileConflictError,
|
|
3
3
|
parseProfileRevisionDiff,
|
|
4
4
|
serializeProfileRevisionDiff
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-GP2BEEBJ.js";
|
|
6
6
|
import "../chunk-3CI35I4X.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-GD4ONMKJ.js";
|
|
8
8
|
import "../chunk-UGWQLQDS.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-R32MULDK.js";
|
|
10
10
|
import "../chunk-F4XBNR5L.js";
|
|
11
11
|
|
|
12
12
|
// src/agent-profiles/d1.ts
|
|
@@ -21,14 +21,14 @@ import {
|
|
|
21
21
|
readProfileAdmission,
|
|
22
22
|
serializeProfileRevisionDiff,
|
|
23
23
|
switchProfile
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-GP2BEEBJ.js";
|
|
25
25
|
import {
|
|
26
26
|
normalizeProfileName,
|
|
27
27
|
parseProfileSwitch
|
|
28
28
|
} from "../chunk-3CI35I4X.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-GD4ONMKJ.js";
|
|
30
30
|
import "../chunk-UGWQLQDS.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-R32MULDK.js";
|
|
32
32
|
import "../chunk-F4XBNR5L.js";
|
|
33
33
|
export {
|
|
34
34
|
PERMITTED_SELF_MOUNT_DIMENSIONS,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Harness } from '../harness/index.js';
|
|
2
2
|
import type { SandboxRuntimeConfig } from '../sandbox/configuration.js';
|
|
3
|
+
import type { ProviderResolutionConfig } from '../sandbox/model.js';
|
|
3
4
|
import { type StreamSandboxPromptOptions } from '../sandbox/prompt-options.js';
|
|
4
5
|
import type { ChatTurnStoreBindings } from './route-storage.js';
|
|
5
6
|
import { type ModelPolicy } from '../policy-filters/index.js';
|
|
@@ -30,6 +31,10 @@ export interface ChatTurnDefaultBackend<TContext = unknown, TResource = unknown>
|
|
|
30
31
|
interactions?: StreamSandboxPromptOptions['interactions'];
|
|
31
32
|
/** Existing product provisioning, credentials, profiles and egress policy remain authoritative. */
|
|
32
33
|
shell?: SandboxRuntimeConfig;
|
|
34
|
+
/** A model's own provider, keyed by the exact model id a turn carries; any other model runs on the shell's. The box is
|
|
35
|
+
* created on the shell's provider, and only an api-mode keyless provider there gets the box its own Router key, so a
|
|
36
|
+
* pool of an OpenCode free model and a Router model puts the Router member on the shell and the free one here. */
|
|
37
|
+
providers?: Readonly<Record<string, ProviderResolutionConfig>>;
|
|
33
38
|
/** Explicitly keep every turn on the sandbox lane. */
|
|
34
39
|
router?: false;
|
|
35
40
|
/** Who pays for the Router model call: the turn's key, or a per-turn lease (`createDelegatedTurnKeys`) the
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
turnCarriesFiles,
|
|
83
83
|
turnPromptText,
|
|
84
84
|
withProducerStream
|
|
85
|
-
} from "../chunk-
|
|
85
|
+
} from "../chunk-XCMTWZ36.js";
|
|
86
86
|
import "../chunk-SBHFMDR7.js";
|
|
87
87
|
import "../chunk-H6BRJU5M.js";
|
|
88
88
|
import "../chunk-4DBHC63F.js";
|
|
@@ -168,14 +168,14 @@ import {
|
|
|
168
168
|
import "../chunk-L3QR274L.js";
|
|
169
169
|
import "../chunk-XELWWXJJ.js";
|
|
170
170
|
import "../chunk-DSMGS4IV.js";
|
|
171
|
-
import "../chunk-
|
|
171
|
+
import "../chunk-3JQCVL2T.js";
|
|
172
172
|
import "../chunk-OY7A6M7S.js";
|
|
173
173
|
import "../chunk-O7UX55EU.js";
|
|
174
|
-
import "../chunk-
|
|
174
|
+
import "../chunk-BDP5IC6Q.js";
|
|
175
175
|
import "../chunk-S5SRJJQG.js";
|
|
176
|
-
import "../chunk-
|
|
176
|
+
import "../chunk-GD4ONMKJ.js";
|
|
177
177
|
import "../chunk-UGWQLQDS.js";
|
|
178
|
-
import "../chunk-
|
|
178
|
+
import "../chunk-R32MULDK.js";
|
|
179
179
|
import "../chunk-PISTUUEZ.js";
|
|
180
180
|
import "../chunk-D6UJEOZQ.js";
|
|
181
181
|
import "../chunk-YYA2CVOY.js";
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
} from "./chunk-OY7A6M7S.js";
|
|
5
5
|
import {
|
|
6
6
|
parseRenderUiSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BDP5IC6Q.js";
|
|
8
8
|
import {
|
|
9
9
|
buildAppToolOpenAITools,
|
|
10
10
|
findCustomTool,
|
|
11
11
|
isAppToolName
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GD4ONMKJ.js";
|
|
13
13
|
import {
|
|
14
14
|
ToolInputError
|
|
15
15
|
} from "./chunk-F4XBNR5L.js";
|
|
@@ -212,4 +212,4 @@ export {
|
|
|
212
212
|
createAppToolRuntimeExecutor,
|
|
213
213
|
handleAppToolRequest
|
|
214
214
|
};
|
|
215
|
-
//# sourceMappingURL=chunk-
|
|
215
|
+
//# sourceMappingURL=chunk-3JQCVL2T.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
validateOpenUIJsonNode
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-R32MULDK.js";
|
|
4
4
|
import {
|
|
5
5
|
ToolInputError
|
|
6
6
|
} from "./chunk-F4XBNR5L.js";
|
|
@@ -27,4 +27,4 @@ function parseRenderUiSchema(value) {
|
|
|
27
27
|
export {
|
|
28
28
|
parseRenderUiSchema
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-BDP5IC6Q.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
OPENUI_NODE_JSON_SCHEMA,
|
|
6
6
|
OPENUI_NODE_TYPES
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-R32MULDK.js";
|
|
8
8
|
|
|
9
9
|
// src/tools/openai.ts
|
|
10
10
|
var APP_TOOL_NAMES = ["submit_proposal", "schedule_followup", "render_ui", "add_citation"];
|
|
@@ -117,4 +117,4 @@ export {
|
|
|
117
117
|
customToolToOpenAI,
|
|
118
118
|
findCustomTool
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
120
|
+
//# sourceMappingURL=chunk-GD4ONMKJ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-3CI35I4X.js";
|
|
5
5
|
import {
|
|
6
6
|
defineAppTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GD4ONMKJ.js";
|
|
8
8
|
import {
|
|
9
9
|
ToolInputError
|
|
10
10
|
} from "./chunk-F4XBNR5L.js";
|
|
@@ -672,4 +672,4 @@ export {
|
|
|
672
672
|
PROFILE_MEMORY_PREFIX,
|
|
673
673
|
profileTools
|
|
674
674
|
};
|
|
675
|
-
//# sourceMappingURL=chunk-
|
|
675
|
+
//# sourceMappingURL=chunk-GP2BEEBJ.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// node_modules/.pnpm/@tangle-network+ui@11.51.
|
|
1
|
+
// node_modules/.pnpm/@tangle-network+ui@11.51.22_@hocuspocus+provider@4.8.0_y-protocols@1.0.7_yjs@13.6.33__y_6834a4bdf73d9a79f09db5f190182976/node_modules/@tangle-network/ui/dist/openui/schema-data.js
|
|
2
2
|
var OPENUI_NODE_TYPES = [
|
|
3
3
|
"heading",
|
|
4
4
|
"text",
|
|
@@ -197,7 +197,7 @@ var OPENUI_NODE_JSON_SCHEMA = {
|
|
|
197
197
|
}
|
|
198
198
|
};
|
|
199
199
|
|
|
200
|
-
// node_modules/.pnpm/@tangle-network+ui@11.51.
|
|
200
|
+
// node_modules/.pnpm/@tangle-network+ui@11.51.22_@hocuspocus+provider@4.8.0_y-protocols@1.0.7_yjs@13.6.33__y_6834a4bdf73d9a79f09db5f190182976/node_modules/@tangle-network/ui/dist/_virtual/_rolldown/runtime.js
|
|
201
201
|
var __defProp = Object.defineProperty;
|
|
202
202
|
var __exportAll = (all, no_symbols) => {
|
|
203
203
|
let target = {};
|
|
@@ -209,7 +209,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
209
209
|
return target;
|
|
210
210
|
};
|
|
211
211
|
|
|
212
|
-
// node_modules/.pnpm/@tangle-network+ui@11.51.
|
|
212
|
+
// node_modules/.pnpm/@tangle-network+ui@11.51.22_@hocuspocus+provider@4.8.0_y-protocols@1.0.7_yjs@13.6.33__y_6834a4bdf73d9a79f09db5f190182976/node_modules/@tangle-network/ui/dist/openui/schema-compiled.js
|
|
213
213
|
var schema_compiled_exports = /* @__PURE__ */ __exportAll({
|
|
214
214
|
actions: () => actions2,
|
|
215
215
|
badge: () => badge,
|
|
@@ -9508,7 +9508,7 @@ function validate44(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
9508
9508
|
return errors === 0;
|
|
9509
9509
|
}
|
|
9510
9510
|
|
|
9511
|
-
// node_modules/.pnpm/@tangle-network+ui@11.51.
|
|
9511
|
+
// node_modules/.pnpm/@tangle-network+ui@11.51.22_@hocuspocus+provider@4.8.0_y-protocols@1.0.7_yjs@13.6.33__y_6834a4bdf73d9a79f09db5f190182976/node_modules/@tangle-network/ui/dist/openui-schema.js
|
|
9512
9512
|
var nodeTypes = new Set(OPENUI_NODE_TYPES);
|
|
9513
9513
|
function findUnsupportedOpenUINode(value) {
|
|
9514
9514
|
const seen = /* @__PURE__ */ new WeakSet();
|
|
@@ -9621,4 +9621,4 @@ export {
|
|
|
9621
9621
|
OPENUI_NODE_JSON_SCHEMA,
|
|
9622
9622
|
validateOpenUIJsonNode
|
|
9623
9623
|
};
|
|
9624
|
-
//# sourceMappingURL=chunk-
|
|
9624
|
+
//# sourceMappingURL=chunk-R32MULDK.js.map
|