@0gfoundation/0g-agentdna 0.2.3 → 0.4.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/dist/cli/commands/interactive.d.ts +1 -1
- package/dist/cli/commands/interactive.js +1 -1
- package/dist/cli/settings.d.ts +3 -3
- package/dist/cli/settings.js +3 -3
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/package.json +1 -1
- package/src/cli/commands/interactive.ts +1 -1
- package/src/cli/settings.ts +3 -3
- package/src/constants.ts +1 -1
|
@@ -178,7 +178,7 @@ export declare function run(ctx: CommandContext): Promise<void>;
|
|
|
178
178
|
/**
|
|
179
179
|
* Whether the deploy wizard offers `framework` only models with tool use: the
|
|
180
180
|
* tool-driven frameworks, the harness under either of its names (`dsh` on a
|
|
181
|
-
* network still on
|
|
181
|
+
* network still on AgenticID 1.3, see `isHarnessFramework`).
|
|
182
182
|
*/
|
|
183
183
|
export declare function frameworkNeedsToolModels(framework: string): boolean;
|
|
184
184
|
//# sourceMappingURL=interactive.d.ts.map
|
|
@@ -2239,7 +2239,7 @@ async function ensureOwnerReady(ag, ask) {
|
|
|
2239
2239
|
/**
|
|
2240
2240
|
* Whether the deploy wizard offers `framework` only models with tool use: the
|
|
2241
2241
|
* tool-driven frameworks, the harness under either of its names (`dsh` on a
|
|
2242
|
-
* network still on
|
|
2242
|
+
* network still on AgenticID 1.3, see `isHarnessFramework`).
|
|
2243
2243
|
*/
|
|
2244
2244
|
function frameworkNeedsToolModels(framework) {
|
|
2245
2245
|
return framework === 'openclaw' || framework === 'prime-agent' || (0, settings_1.isHarnessFramework)(framework);
|
package/dist/cli/settings.d.ts
CHANGED
|
@@ -41,9 +41,9 @@ export declare function parseAssignments(args: string[]): Assignment[];
|
|
|
41
41
|
export declare const HARNESS_ONLY_KEYS: readonly ["toolJobs", "subagents", "schedule", "maxParallelToolCalls"];
|
|
42
42
|
/**
|
|
43
43
|
* Whether `framework` names the 0g-harness adapter. `dsh` is its name before
|
|
44
|
-
* AgentDNA
|
|
44
|
+
* AgentDNA 0.4, and an attestor not yet upgraded still reports it in
|
|
45
45
|
* deployment rows and `/config` (sealed reads the old name the same way,
|
|
46
|
-
* `legacyFrameworkName`). The 1.3 `dsh` adapter reads `toolJobs` and
|
|
46
|
+
* `legacyFrameworkName`). The AgenticID 1.3 `dsh` adapter reads `toolJobs` and
|
|
47
47
|
* `maxParallelToolCalls` and ignores `others` keys it does not know.
|
|
48
48
|
*/
|
|
49
49
|
export declare function isHarnessFramework(framework: string | null | undefined): boolean;
|
|
@@ -54,7 +54,7 @@ export declare function isHarnessFramework(framework: string | null | undefined)
|
|
|
54
54
|
* it refuses a key it does not know, and the adapter then drops the whole
|
|
55
55
|
* `others` section, the owner's other keys with it. An unknown framework (a
|
|
56
56
|
* legacy row) is not refused: nothing says the write is wrong, and neither is
|
|
57
|
-
* `dsh`, the harness's name on a network that still runs
|
|
57
|
+
* `dsh`, the harness's name on a network that still runs AgenticID 1.3.
|
|
58
58
|
*/
|
|
59
59
|
export declare function assertOthersFitFramework(assignments: Assignment[], framework: string | null | undefined): void;
|
|
60
60
|
/** Merge assignments onto the stored document, producing the document to write. */
|
package/dist/cli/settings.js
CHANGED
|
@@ -86,9 +86,9 @@ function parseAssignments(args) {
|
|
|
86
86
|
exports.HARNESS_ONLY_KEYS = ['toolJobs', 'subagents', 'schedule', 'maxParallelToolCalls'];
|
|
87
87
|
/**
|
|
88
88
|
* Whether `framework` names the 0g-harness adapter. `dsh` is its name before
|
|
89
|
-
* AgentDNA
|
|
89
|
+
* AgentDNA 0.4, and an attestor not yet upgraded still reports it in
|
|
90
90
|
* deployment rows and `/config` (sealed reads the old name the same way,
|
|
91
|
-
* `legacyFrameworkName`). The 1.3 `dsh` adapter reads `toolJobs` and
|
|
91
|
+
* `legacyFrameworkName`). The AgenticID 1.3 `dsh` adapter reads `toolJobs` and
|
|
92
92
|
* `maxParallelToolCalls` and ignores `others` keys it does not know.
|
|
93
93
|
*/
|
|
94
94
|
function isHarnessFramework(framework) {
|
|
@@ -101,7 +101,7 @@ function isHarnessFramework(framework) {
|
|
|
101
101
|
* it refuses a key it does not know, and the adapter then drops the whole
|
|
102
102
|
* `others` section, the owner's other keys with it. An unknown framework (a
|
|
103
103
|
* legacy row) is not refused: nothing says the write is wrong, and neither is
|
|
104
|
-
* `dsh`, the harness's name on a network that still runs
|
|
104
|
+
* `dsh`, the harness's name on a network that still runs AgenticID 1.3.
|
|
105
105
|
*/
|
|
106
106
|
function assertOthersFitFramework(assignments, framework) {
|
|
107
107
|
if (!framework || isHarnessFramework(framework))
|
package/dist/constants.d.ts
CHANGED
|
@@ -103,5 +103,5 @@ export declare const RECEIPT_WAIT: {
|
|
|
103
103
|
};
|
|
104
104
|
/** This SDK's own version. Kept in lockstep with package.json by a test —
|
|
105
105
|
* a runtime package.json read would break browser bundles, so a constant. */
|
|
106
|
-
export declare const SDK_VERSION = "0.
|
|
106
|
+
export declare const SDK_VERSION = "0.4.0";
|
|
107
107
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
|
@@ -70,5 +70,5 @@ exports.RECEIPT_WAIT = {
|
|
|
70
70
|
};
|
|
71
71
|
/** This SDK's own version. Kept in lockstep with package.json by a test —
|
|
72
72
|
* a runtime package.json read would break browser bundles, so a constant. */
|
|
73
|
-
exports.SDK_VERSION = '0.
|
|
73
|
+
exports.SDK_VERSION = '0.4.0';
|
|
74
74
|
//# sourceMappingURL=constants.js.map
|
package/package.json
CHANGED
|
@@ -2103,7 +2103,7 @@ async function ensureOwnerReady(ag: AgenticID, ask: (q: string) => Promise<strin
|
|
|
2103
2103
|
/**
|
|
2104
2104
|
* Whether the deploy wizard offers `framework` only models with tool use: the
|
|
2105
2105
|
* tool-driven frameworks, the harness under either of its names (`dsh` on a
|
|
2106
|
-
* network still on
|
|
2106
|
+
* network still on AgenticID 1.3, see `isHarnessFramework`).
|
|
2107
2107
|
*/
|
|
2108
2108
|
export function frameworkNeedsToolModels(framework: string): boolean {
|
|
2109
2109
|
return framework === 'openclaw' || framework === 'prime-agent' || isHarnessFramework(framework);
|
package/src/cli/settings.ts
CHANGED
|
@@ -95,9 +95,9 @@ export const HARNESS_ONLY_KEYS = ['toolJobs', 'subagents', 'schedule', 'maxParal
|
|
|
95
95
|
|
|
96
96
|
/**
|
|
97
97
|
* Whether `framework` names the 0g-harness adapter. `dsh` is its name before
|
|
98
|
-
* AgentDNA
|
|
98
|
+
* AgentDNA 0.4, and an attestor not yet upgraded still reports it in
|
|
99
99
|
* deployment rows and `/config` (sealed reads the old name the same way,
|
|
100
|
-
* `legacyFrameworkName`). The 1.3 `dsh` adapter reads `toolJobs` and
|
|
100
|
+
* `legacyFrameworkName`). The AgenticID 1.3 `dsh` adapter reads `toolJobs` and
|
|
101
101
|
* `maxParallelToolCalls` and ignores `others` keys it does not know.
|
|
102
102
|
*/
|
|
103
103
|
export function isHarnessFramework(framework: string | null | undefined): boolean {
|
|
@@ -111,7 +111,7 @@ export function isHarnessFramework(framework: string | null | undefined): boolea
|
|
|
111
111
|
* it refuses a key it does not know, and the adapter then drops the whole
|
|
112
112
|
* `others` section, the owner's other keys with it. An unknown framework (a
|
|
113
113
|
* legacy row) is not refused: nothing says the write is wrong, and neither is
|
|
114
|
-
* `dsh`, the harness's name on a network that still runs
|
|
114
|
+
* `dsh`, the harness's name on a network that still runs AgenticID 1.3.
|
|
115
115
|
*/
|
|
116
116
|
export function assertOthersFitFramework(assignments: Assignment[], framework: string | null | undefined): void {
|
|
117
117
|
if (!framework || isHarnessFramework(framework)) return;
|
package/src/constants.ts
CHANGED
|
@@ -103,4 +103,4 @@ export const RECEIPT_WAIT = {
|
|
|
103
103
|
|
|
104
104
|
/** This SDK's own version. Kept in lockstep with package.json by a test —
|
|
105
105
|
* a runtime package.json read would break browser bundles, so a constant. */
|
|
106
|
-
export const SDK_VERSION = '0.
|
|
106
|
+
export const SDK_VERSION = '0.4.0';
|