@ai-sdk/harness 1.0.0-canary.4 → 1.0.0-canary.6
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/CHANGELOG.md +19 -0
- package/agent/index.ts +31 -1
- package/dist/agent/index.d.ts +257 -274
- package/dist/agent/index.js +226 -1
- package/dist/agent/index.js.map +1 -1
- package/dist/index.d.ts +1 -3
- package/package.json +3 -8
- package/src/agent/harness-agent-session.ts +40 -30
- package/src/agent/harness-agent-settings.ts +11 -11
- package/src/agent/harness-agent-types.ts +50 -0
- package/src/agent/harness-agent.ts +24 -22
- package/src/agent/internal/resolve-observability.ts +1 -1
- package/src/{observability → agent/observability}/file-reporter.ts +1 -4
- package/src/{observability → agent/observability}/index.ts +3 -1
- package/src/agent/{harness-diagnostics.ts → observability/types.ts} +4 -6
- package/src/agent/prewarm.ts +3 -2
- package/src/v1/harness-v1-session.ts +0 -4
- package/src/v1/index.ts +0 -2
- package/dist/observability/index.d.ts +0 -97
- package/dist/observability/index.js +0 -225
- package/dist/observability/index.js.map +0 -1
- /package/src/{observability → agent/observability}/trace-tree-reporter.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @ai-sdk/harness
|
|
2
2
|
|
|
3
|
+
## 1.0.0-canary.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [89ad56f]
|
|
8
|
+
- Updated dependencies [f9a496f]
|
|
9
|
+
- Updated dependencies [3295831]
|
|
10
|
+
- ai@7.0.0-canary.171
|
|
11
|
+
|
|
12
|
+
## 1.0.0-canary.5
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- d77bed4: chore(harness): separate harness spec types (v1) from consumer-facing types
|
|
17
|
+
- Updated dependencies [bae5e2b]
|
|
18
|
+
- Updated dependencies [69d7128]
|
|
19
|
+
- ai@7.0.0-canary.170
|
|
20
|
+
- @ai-sdk/provider-utils@5.0.0-canary.47
|
|
21
|
+
|
|
3
22
|
## 1.0.0-canary.4
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/agent/index.ts
CHANGED
|
@@ -3,6 +3,27 @@ export type {
|
|
|
3
3
|
HarnessAgentSettings,
|
|
4
4
|
HarnessAgentToolApprovalConfiguration,
|
|
5
5
|
} from '../src/agent/harness-agent-settings';
|
|
6
|
+
export type {
|
|
7
|
+
HarnessAgentAdapter,
|
|
8
|
+
HarnessAgentAdapterSession,
|
|
9
|
+
HarnessAgentBuiltinTool,
|
|
10
|
+
HarnessAgentBuiltinToolName,
|
|
11
|
+
HarnessAgentBuiltinTools,
|
|
12
|
+
HarnessAgentBuiltinToolUseKind,
|
|
13
|
+
HarnessAgentContinueTurnOptions,
|
|
14
|
+
HarnessAgentContinueTurnState,
|
|
15
|
+
HarnessAgentLifecycleState,
|
|
16
|
+
HarnessAgentPendingToolApproval,
|
|
17
|
+
HarnessAgentPermissionMode,
|
|
18
|
+
HarnessAgentPrompt,
|
|
19
|
+
HarnessAgentPromptControl,
|
|
20
|
+
HarnessAgentPromptTurnOptions,
|
|
21
|
+
HarnessAgentResumeSessionState,
|
|
22
|
+
HarnessAgentSkill,
|
|
23
|
+
HarnessAgentStartOptions,
|
|
24
|
+
HarnessAgentStreamPart,
|
|
25
|
+
HarnessAgentToolSpec,
|
|
26
|
+
} from '../src/agent/harness-agent-types';
|
|
6
27
|
export { HarnessAgentSession } from '../src/agent/harness-agent-session';
|
|
7
28
|
export {
|
|
8
29
|
collectHarnessAgentToolApprovalContinuations,
|
|
@@ -14,4 +35,13 @@ export type {
|
|
|
14
35
|
HarnessDebugLevel,
|
|
15
36
|
HarnessDiagnostic,
|
|
16
37
|
HarnessDiagnosticConsumer,
|
|
17
|
-
} from '../src/agent/
|
|
38
|
+
} from '../src/agent/observability/types';
|
|
39
|
+
export { HarnessError } from '../src/errors/harness-error';
|
|
40
|
+
export { HarnessCapabilityUnsupportedError } from '../src/errors/harness-capability-unsupported-error';
|
|
41
|
+
export {
|
|
42
|
+
createFileReporter,
|
|
43
|
+
createTraceTreeReporter,
|
|
44
|
+
type FileReporter,
|
|
45
|
+
type FileReporterOptions,
|
|
46
|
+
type TraceTreeReporterOptions,
|
|
47
|
+
} from '../src/agent/observability';
|