@agent-os-sdk/client 0.3.3 → 0.3.5
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/client/AgentOsClient.d.ts +0 -16
- package/dist/client/AgentOsClient.d.ts.map +1 -1
- package/dist/client/AgentOsClient.js +0 -27
- package/dist/generated/openapi.d.ts +3 -0
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/index.d.ts +0 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -9
- package/package.json +1 -1
- package/src/client/AgentOsClient.ts +0 -30
- package/src/generated/openapi.ts +3 -0
- package/src/generated/swagger.json +7 -0
- package/src/index.ts +1 -9
- package/src/modules/artifacts.ts +0 -83
- package/src/modules/budgets.ts +0 -120
- package/src/modules/capabilities.ts +0 -95
- package/src/modules/deployments.ts +0 -111
- package/src/modules/flows.ts +0 -133
- package/src/modules/handoff.ts +0 -140
- package/src/modules/incidents.ts +0 -113
- package/src/modules/policies.ts +0 -112
package/dist/index.d.ts
CHANGED
|
@@ -69,15 +69,7 @@ export { InfoModule, type ServerInfo } from "./modules/info.js";
|
|
|
69
69
|
export { MetricsModule, type MetricsResponse } from "./modules/metrics.js";
|
|
70
70
|
export { GraphsModule, type GraphValidationResult, type GraphIntrospectionResult } from "./modules/graphs.js";
|
|
71
71
|
export { CatalogModule, type CatalogVersions, type NodeCatalogResponse, type ToolCatalogResponse, type TriggerCatalogResponse, type NodeDefinition, type ToolDefinition, type TriggerTemplate } from "./modules/catalog.js";
|
|
72
|
-
export { HandoffModule, type HandoffOptions, type HandoffResult, type ForkOptions, type ForkResult, type RunChain, type RunChainNode, type HandoffMode, type HandoffConstraints } from "./modules/handoff.js";
|
|
73
|
-
export { FlowsModule, type Flow, type FlowStep, type FlowRun, type FlowVisualization, type FlowSimulationResult, type FlowStatus, type FlowListResponse } from "./modules/flows.js";
|
|
74
|
-
export { CapabilitiesModule, type Capability, type CapabilityType, type CapabilityTest, type CapabilityMatrix } from "./modules/capabilities.js";
|
|
75
|
-
export { PoliciesModule, type Policy, type PolicyScope, type PolicyEnforcement, type PolicyRule, type PolicyEvaluation, type PolicyEvaluationResult } from "./modules/policies.js";
|
|
76
72
|
export { ApprovalsModule, type Approval, type ApprovalStatus, type ApprovalDecision, type ApprovalListResponse, type ApprovalStatusResponse } from "./modules/approvals.js";
|
|
77
|
-
export { BudgetsModule, type Budget, type BudgetPeriod, type BudgetScope, type BudgetResourceType, type BudgetUsage, type BudgetAlert, type BudgetBreakdownItem } from "./modules/budgets.js";
|
|
78
|
-
export { DeploymentsModule, type Environment, type Deployment, type DeploymentStatus, type DeploymentConfig, type DeploymentHealth } from "./modules/deployments.js";
|
|
79
|
-
export { IncidentsModule, type Incident, type IncidentSeverity, type IncidentStatus, type IncidentUpdate, type IncidentMetrics } from "./modules/incidents.js";
|
|
80
|
-
export { ArtifactsModule, type Artifact, type ArtifactType, type ArtifactUploadUrl } from "./modules/artifacts.js";
|
|
81
73
|
export { streamSSE, type SSEEvent, type SSEOptions, type RunStreamEvent } from "./sse/client.js";
|
|
82
74
|
export type { Agent as AgentSchema, CreateAgentRequest, UpdateAgentRequest, AgentBundle, CreateAgentVersionRequest, RunResponse, RunDetailResponse, WaitRunResponse, BatchRunResponse, CancelRunResponse, ReplayRequest, ThreadRequest, ThreadSearchRequest, AddMessageRequest, CheckpointDetail, CheckpointListResponse, CreateCredentialRequest, UpdateCredentialRequest, CreateCronJobRequest, UpdateCronJobRequest, InviteMemberRequest, UpdateMemberRequest, CreatePromptRequest, CreatePromptVersionRequest, CreatePresignedUploadRequest, PresignedUploadResponse, VectorStoreResponse, VectorQueryRequest, VectorQueryResponse, CreateDatasetRequest, CreateExperimentRequest, ProblemDetails, } from "./client/raw.js";
|
|
83
75
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[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K,mBAAmB,EAAE,KAAK,mBAAmB,EAAE,KAAK,sBAAsB,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAG5N,OAAO,EAAE,eAAe,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,KAAK,oBAAoB,EAAE,KAAK,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAK5K,OAAO,EAAE,SAAS,EAAE,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAKjG,YAAY,EAER,KAAK,IAAI,WAAW,EACpB,kBAAkB,EAClB,kBAAkB,EAClB,WAAW,EACX,yBAAyB,EAEzB,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EAEb,aAAa,EACb,mBAAmB,EACnB,iBAAiB,EAEjB,gBAAgB,EAChB,sBAAsB,EAEtB,uBAAuB,EACvB,uBAAuB,EAEvB,oBAAoB,EACpB,oBAAoB,EAEpB,mBAAmB,EACnB,mBAAmB,EAEnB,mBAAmB,EACnB,0BAA0B,EAE1B,4BAA4B,EAC5B,uBAAuB,EAEvB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EAEnB,oBAAoB,EACpB,uBAAuB,EAEvB,cAAc,GACjB,MAAM,iBAAiB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -83,16 +83,8 @@ export { InfoModule } from "./modules/info.js";
|
|
|
83
83
|
export { MetricsModule } from "./modules/metrics.js";
|
|
84
84
|
export { GraphsModule } from "./modules/graphs.js";
|
|
85
85
|
export { CatalogModule } from "./modules/catalog.js";
|
|
86
|
-
//
|
|
87
|
-
export { HandoffModule } from "./modules/handoff.js";
|
|
88
|
-
export { FlowsModule } from "./modules/flows.js";
|
|
89
|
-
export { CapabilitiesModule } from "./modules/capabilities.js";
|
|
90
|
-
export { PoliciesModule } from "./modules/policies.js";
|
|
86
|
+
// Approvals is real (has backend implementation)
|
|
91
87
|
export { ApprovalsModule } from "./modules/approvals.js";
|
|
92
|
-
export { BudgetsModule } from "./modules/budgets.js";
|
|
93
|
-
export { DeploymentsModule } from "./modules/deployments.js";
|
|
94
|
-
export { IncidentsModule } from "./modules/incidents.js";
|
|
95
|
-
export { ArtifactsModule } from "./modules/artifacts.js";
|
|
96
88
|
// ============================================================================
|
|
97
89
|
// SSE Streaming
|
|
98
90
|
// ============================================================================
|
package/package.json
CHANGED
|
@@ -68,17 +68,7 @@ import { InfoModule } from "../modules/info.js";
|
|
|
68
68
|
import { MetricsModule } from "../modules/metrics.js";
|
|
69
69
|
import { GraphsModule } from "../modules/graphs.js";
|
|
70
70
|
import { CatalogModule } from "../modules/catalog.js";
|
|
71
|
-
|
|
72
|
-
// Future modules (mocked)
|
|
73
|
-
import { HandoffModule } from "../modules/handoff.js";
|
|
74
|
-
import { FlowsModule } from "../modules/flows.js";
|
|
75
|
-
import { CapabilitiesModule } from "../modules/capabilities.js";
|
|
76
|
-
import { PoliciesModule } from "../modules/policies.js";
|
|
77
71
|
import { ApprovalsModule } from "../modules/approvals.js";
|
|
78
|
-
import { BudgetsModule } from "../modules/budgets.js";
|
|
79
|
-
import { DeploymentsModule } from "../modules/deployments.js";
|
|
80
|
-
import { IncidentsModule } from "../modules/incidents.js";
|
|
81
|
-
import { ArtifactsModule } from "../modules/artifacts.js";
|
|
82
72
|
|
|
83
73
|
// Re-export auth types
|
|
84
74
|
export type { AgentOsClientOptions, AuthProvider } from "./auth.js";
|
|
@@ -123,17 +113,7 @@ export class AgentOsClient {
|
|
|
123
113
|
readonly metrics: MetricsModule;
|
|
124
114
|
readonly graphs: GraphsModule;
|
|
125
115
|
readonly catalog: CatalogModule;
|
|
126
|
-
|
|
127
|
-
// Future modules (mocked)
|
|
128
|
-
readonly handoff: HandoffModule;
|
|
129
|
-
readonly flows: FlowsModule;
|
|
130
|
-
readonly capabilities: CapabilitiesModule;
|
|
131
|
-
readonly policies: PoliciesModule;
|
|
132
116
|
readonly approvals: ApprovalsModule;
|
|
133
|
-
readonly budgets: BudgetsModule;
|
|
134
|
-
readonly deployments: DeploymentsModule;
|
|
135
|
-
readonly incidents: IncidentsModule;
|
|
136
|
-
readonly artifacts: ArtifactsModule;
|
|
137
117
|
|
|
138
118
|
// Convenience aliases
|
|
139
119
|
readonly experiments: {
|
|
@@ -200,17 +180,7 @@ export class AgentOsClient {
|
|
|
200
180
|
this.metrics = new MetricsModule(this._client);
|
|
201
181
|
this.graphs = new GraphsModule(this._client, getHeaders);
|
|
202
182
|
this.catalog = new CatalogModule(this._client);
|
|
203
|
-
|
|
204
|
-
// Initialize future modules (mocked)
|
|
205
|
-
this.handoff = new HandoffModule(this._client, getHeaders);
|
|
206
|
-
this.flows = new FlowsModule(this._client, getHeaders);
|
|
207
|
-
this.capabilities = new CapabilitiesModule(this._client, getHeaders);
|
|
208
|
-
this.policies = new PoliciesModule(this._client, getHeaders);
|
|
209
183
|
this.approvals = new ApprovalsModule(this._client, getHeaders);
|
|
210
|
-
this.budgets = new BudgetsModule(this._client, getHeaders);
|
|
211
|
-
this.deployments = new DeploymentsModule(this._client, getHeaders);
|
|
212
|
-
this.incidents = new IncidentsModule(this._client, getHeaders);
|
|
213
|
-
this.artifacts = new ArtifactsModule(this._client, getHeaders);
|
|
214
184
|
|
|
215
185
|
// Initialize convenience aliases
|
|
216
186
|
this.experiments = {
|
package/src/generated/openapi.ts
CHANGED
|
@@ -7624,6 +7624,13 @@
|
|
|
7624
7624
|
"additionalProperties": { }
|
|
7625
7625
|
},
|
|
7626
7626
|
"nullable": true
|
|
7627
|
+
},
|
|
7628
|
+
"catalog_versions": {
|
|
7629
|
+
"type": "object",
|
|
7630
|
+
"additionalProperties": {
|
|
7631
|
+
"type": "string"
|
|
7632
|
+
},
|
|
7633
|
+
"nullable": true
|
|
7627
7634
|
}
|
|
7628
7635
|
},
|
|
7629
7636
|
"additionalProperties": false
|
package/src/index.ts
CHANGED
|
@@ -117,16 +117,8 @@ export { MetricsModule, type MetricsResponse } from "./modules/metrics.js";
|
|
|
117
117
|
export { GraphsModule, type GraphValidationResult, type GraphIntrospectionResult } from "./modules/graphs.js";
|
|
118
118
|
export { CatalogModule, type CatalogVersions, type NodeCatalogResponse, type ToolCatalogResponse, type TriggerCatalogResponse, type NodeDefinition, type ToolDefinition, type TriggerTemplate } from "./modules/catalog.js";
|
|
119
119
|
|
|
120
|
-
//
|
|
121
|
-
export { HandoffModule, type HandoffOptions, type HandoffResult, type ForkOptions, type ForkResult, type RunChain, type RunChainNode, type HandoffMode, type HandoffConstraints } from "./modules/handoff.js";
|
|
122
|
-
export { FlowsModule, type Flow, type FlowStep, type FlowRun, type FlowVisualization, type FlowSimulationResult, type FlowStatus, type FlowListResponse } from "./modules/flows.js";
|
|
123
|
-
export { CapabilitiesModule, type Capability, type CapabilityType, type CapabilityTest, type CapabilityMatrix } from "./modules/capabilities.js";
|
|
124
|
-
export { PoliciesModule, type Policy, type PolicyScope, type PolicyEnforcement, type PolicyRule, type PolicyEvaluation, type PolicyEvaluationResult } from "./modules/policies.js";
|
|
120
|
+
// Approvals is real (has backend implementation)
|
|
125
121
|
export { ApprovalsModule, type Approval, type ApprovalStatus, type ApprovalDecision, type ApprovalListResponse, type ApprovalStatusResponse } from "./modules/approvals.js";
|
|
126
|
-
export { BudgetsModule, type Budget, type BudgetPeriod, type BudgetScope, type BudgetResourceType, type BudgetUsage, type BudgetAlert, type BudgetBreakdownItem } from "./modules/budgets.js";
|
|
127
|
-
export { DeploymentsModule, type Environment, type Deployment, type DeploymentStatus, type DeploymentConfig, type DeploymentHealth } from "./modules/deployments.js";
|
|
128
|
-
export { IncidentsModule, type Incident, type IncidentSeverity, type IncidentStatus, type IncidentUpdate, type IncidentMetrics } from "./modules/incidents.js";
|
|
129
|
-
export { ArtifactsModule, type Artifact, type ArtifactType, type ArtifactUploadUrl } from "./modules/artifacts.js";
|
|
130
122
|
|
|
131
123
|
// ============================================================================
|
|
132
124
|
// SSE Streaming
|
package/src/modules/artifacts.ts
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Artifacts Module - Run Output Management
|
|
3
|
-
*
|
|
4
|
-
* NOT IMPLEMENTED - Backend endpoint not available.
|
|
5
|
-
* All methods return 501 NotImplemented.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import type { RawClient, APIResponse } from "../client/raw.js";
|
|
9
|
-
|
|
10
|
-
// ============================================================================
|
|
11
|
-
// Types
|
|
12
|
-
// ============================================================================
|
|
13
|
-
|
|
14
|
-
export type ArtifactType = "file" | "image" | "json" | "text" | "log" | "report";
|
|
15
|
-
|
|
16
|
-
export interface Artifact {
|
|
17
|
-
id: string;
|
|
18
|
-
run_id: string;
|
|
19
|
-
name: string;
|
|
20
|
-
type: ArtifactType;
|
|
21
|
-
mime_type?: string;
|
|
22
|
-
size_bytes: number;
|
|
23
|
-
checksum?: string;
|
|
24
|
-
download_url?: string;
|
|
25
|
-
preview_url?: string;
|
|
26
|
-
metadata?: Record<string, unknown>;
|
|
27
|
-
created_at: string;
|
|
28
|
-
expires_at?: string;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export interface ArtifactUploadUrl {
|
|
32
|
-
upload_url: string;
|
|
33
|
-
artifact_id: string;
|
|
34
|
-
expires_at: string;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// ============================================================================
|
|
38
|
-
// Helper for 501 responses
|
|
39
|
-
// ============================================================================
|
|
40
|
-
|
|
41
|
-
function notImplemented<T>(method: string): APIResponse<T> {
|
|
42
|
-
return {
|
|
43
|
-
data: undefined,
|
|
44
|
-
error: {
|
|
45
|
-
code: "NOT_IMPLEMENTED",
|
|
46
|
-
message: `ArtifactsModule.${method}() is not implemented. Backend endpoint not available.`,
|
|
47
|
-
},
|
|
48
|
-
response: new Response(null, { status: 501, statusText: "Not Implemented" }),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// ============================================================================
|
|
53
|
-
// Module
|
|
54
|
-
// ============================================================================
|
|
55
|
-
|
|
56
|
-
export class ArtifactsModule {
|
|
57
|
-
constructor(private client: RawClient, private headers: () => Record<string, string>) { }
|
|
58
|
-
|
|
59
|
-
/** @returns 501 Not Implemented */
|
|
60
|
-
async list(runId: string): Promise<APIResponse<{ items: Artifact[]; total: number }>> {
|
|
61
|
-
return notImplemented<{ items: Artifact[]; total: number }>("list");
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/** @returns 501 Not Implemented */
|
|
65
|
-
async get(artifactId: string): Promise<APIResponse<Artifact>> {
|
|
66
|
-
return notImplemented<Artifact>("get");
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/** @returns 501 Not Implemented */
|
|
70
|
-
async getDownloadUrl(artifactId: string): Promise<APIResponse<{ url: string; expires_at: string }>> {
|
|
71
|
-
return notImplemented<{ url: string; expires_at: string }>("getDownloadUrl");
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/** @returns 501 Not Implemented */
|
|
75
|
-
async createUploadUrl(runId: string, name: string, type: ArtifactType): Promise<APIResponse<ArtifactUploadUrl>> {
|
|
76
|
-
return notImplemented<ArtifactUploadUrl>("createUploadUrl");
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/** @returns 501 Not Implemented */
|
|
80
|
-
async delete(artifactId: string): Promise<APIResponse<void>> {
|
|
81
|
-
return notImplemented<void>("delete");
|
|
82
|
-
}
|
|
83
|
-
}
|
package/src/modules/budgets.ts
DELETED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Budgets Module - Cost & Token Management
|
|
3
|
-
*
|
|
4
|
-
* NOT IMPLEMENTED - Backend endpoint not available.
|
|
5
|
-
* All methods return 501 NotImplemented.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import type { RawClient, APIResponse } from "../client/raw.js";
|
|
9
|
-
|
|
10
|
-
// ============================================================================
|
|
11
|
-
// Types
|
|
12
|
-
// ============================================================================
|
|
13
|
-
|
|
14
|
-
export type BudgetScope = "agent" | "workspace" | "tenant" | "user";
|
|
15
|
-
export type BudgetPeriod = "daily" | "weekly" | "monthly" | "total";
|
|
16
|
-
export type BudgetResourceType = "tokens" | "cost" | "api_calls";
|
|
17
|
-
|
|
18
|
-
export interface Budget {
|
|
19
|
-
id: string;
|
|
20
|
-
name: string;
|
|
21
|
-
scope: BudgetScope;
|
|
22
|
-
scope_id: string;
|
|
23
|
-
resource_type: BudgetResourceType;
|
|
24
|
-
limit_value: number;
|
|
25
|
-
current_value: number;
|
|
26
|
-
period: BudgetPeriod;
|
|
27
|
-
period_start: string;
|
|
28
|
-
period_end: string;
|
|
29
|
-
alert_threshold_percent?: number;
|
|
30
|
-
created_at: string;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export interface BudgetUsage {
|
|
34
|
-
budget_id: string;
|
|
35
|
-
current_value: number;
|
|
36
|
-
limit_value: number;
|
|
37
|
-
percent_used: number;
|
|
38
|
-
remaining: number;
|
|
39
|
-
period_start: string;
|
|
40
|
-
period_end: string;
|
|
41
|
-
breakdown: BudgetBreakdownItem[];
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export interface BudgetBreakdownItem {
|
|
45
|
-
agent_id?: string;
|
|
46
|
-
agent_name?: string;
|
|
47
|
-
model?: string;
|
|
48
|
-
value: number;
|
|
49
|
-
percent_of_total: number;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export interface BudgetAlert {
|
|
53
|
-
id: string;
|
|
54
|
-
budget_id: string;
|
|
55
|
-
type: "threshold_warning" | "limit_reached" | "limit_exceeded";
|
|
56
|
-
message: string;
|
|
57
|
-
triggered_at: string;
|
|
58
|
-
acknowledged: boolean;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// ============================================================================
|
|
62
|
-
// Helper for 501 responses
|
|
63
|
-
// ============================================================================
|
|
64
|
-
|
|
65
|
-
function notImplemented<T>(method: string): APIResponse<T> {
|
|
66
|
-
return {
|
|
67
|
-
data: undefined,
|
|
68
|
-
error: {
|
|
69
|
-
code: "NOT_IMPLEMENTED",
|
|
70
|
-
message: `BudgetsModule.${method}() is not implemented. Backend endpoint not available.`,
|
|
71
|
-
},
|
|
72
|
-
response: new Response(null, { status: 501, statusText: "Not Implemented" }),
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
// ============================================================================
|
|
77
|
-
// Module
|
|
78
|
-
// ============================================================================
|
|
79
|
-
|
|
80
|
-
export class BudgetsModule {
|
|
81
|
-
constructor(private client: RawClient, private headers: () => Record<string, string>) { }
|
|
82
|
-
|
|
83
|
-
/** @returns 501 Not Implemented */
|
|
84
|
-
async list(params?: {
|
|
85
|
-
scope?: BudgetScope;
|
|
86
|
-
scope_id?: string;
|
|
87
|
-
limit?: number;
|
|
88
|
-
offset?: number;
|
|
89
|
-
}): Promise<APIResponse<{ items: Budget[]; total: number }>> {
|
|
90
|
-
return notImplemented<{ items: Budget[]; total: number }>("list");
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/** @returns 501 Not Implemented */
|
|
94
|
-
async get(budgetId: string): Promise<APIResponse<Budget>> {
|
|
95
|
-
return notImplemented<Budget>("get");
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/** @returns 501 Not Implemented */
|
|
99
|
-
async create(body: {
|
|
100
|
-
name: string;
|
|
101
|
-
scope: BudgetScope;
|
|
102
|
-
scope_id: string;
|
|
103
|
-
resource_type: BudgetResourceType;
|
|
104
|
-
limit_value: number;
|
|
105
|
-
period: BudgetPeriod;
|
|
106
|
-
alert_threshold_percent?: number;
|
|
107
|
-
}): Promise<APIResponse<Budget>> {
|
|
108
|
-
return notImplemented<Budget>("create");
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/** @returns 501 Not Implemented */
|
|
112
|
-
async getUsage(budgetId: string): Promise<APIResponse<BudgetUsage>> {
|
|
113
|
-
return notImplemented<BudgetUsage>("getUsage");
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/** @returns 501 Not Implemented */
|
|
117
|
-
async getAlerts(budgetId: string): Promise<APIResponse<BudgetAlert[]>> {
|
|
118
|
-
return notImplemented<BudgetAlert[]>("getAlerts");
|
|
119
|
-
}
|
|
120
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Capabilities Module - Agent Capability Discovery
|
|
3
|
-
*
|
|
4
|
-
* NOT IMPLEMENTED - Backend endpoint not available.
|
|
5
|
-
* All methods return 501 NotImplemented.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import type { RawClient, APIResponse } from "../client/raw.js";
|
|
9
|
-
|
|
10
|
-
// ============================================================================
|
|
11
|
-
// Types
|
|
12
|
-
// ============================================================================
|
|
13
|
-
|
|
14
|
-
export type CapabilityType = "tool" | "skill" | "knowledge" | "integration" | "model_feature";
|
|
15
|
-
|
|
16
|
-
export interface Capability {
|
|
17
|
-
id: string;
|
|
18
|
-
name: string;
|
|
19
|
-
type: CapabilityType;
|
|
20
|
-
description?: string;
|
|
21
|
-
agent_id?: string;
|
|
22
|
-
is_available: boolean;
|
|
23
|
-
required_credentials?: string[];
|
|
24
|
-
required_permissions?: string[];
|
|
25
|
-
metadata?: Record<string, unknown>;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface CapabilityTest {
|
|
29
|
-
capability_id: string;
|
|
30
|
-
test_name: string;
|
|
31
|
-
passed: boolean;
|
|
32
|
-
message?: string;
|
|
33
|
-
duration_ms: number;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export interface CapabilityMatrix {
|
|
37
|
-
agent_id: string;
|
|
38
|
-
capabilities: Capability[];
|
|
39
|
-
total: number;
|
|
40
|
-
available: number;
|
|
41
|
-
unavailable: number;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// ============================================================================
|
|
45
|
-
// Helper for 501 responses
|
|
46
|
-
// ============================================================================
|
|
47
|
-
|
|
48
|
-
function notImplemented<T>(method: string): APIResponse<T> {
|
|
49
|
-
return {
|
|
50
|
-
data: undefined,
|
|
51
|
-
error: {
|
|
52
|
-
code: "NOT_IMPLEMENTED",
|
|
53
|
-
message: `CapabilitiesModule.${method}() is not implemented. Backend endpoint not available.`,
|
|
54
|
-
},
|
|
55
|
-
response: new Response(null, { status: 501, statusText: "Not Implemented" }),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// ============================================================================
|
|
60
|
-
// Module
|
|
61
|
-
// ============================================================================
|
|
62
|
-
|
|
63
|
-
export class CapabilitiesModule {
|
|
64
|
-
constructor(private client: RawClient, private headers: () => Record<string, string>) { }
|
|
65
|
-
|
|
66
|
-
/** @returns 501 Not Implemented */
|
|
67
|
-
async list(params?: {
|
|
68
|
-
agent_id?: string;
|
|
69
|
-
type?: CapabilityType;
|
|
70
|
-
limit?: number;
|
|
71
|
-
offset?: number;
|
|
72
|
-
}): Promise<APIResponse<{ items: Capability[]; total: number }>> {
|
|
73
|
-
return notImplemented<{ items: Capability[]; total: number }>("list");
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/** @returns 501 Not Implemented */
|
|
77
|
-
async get(capabilityId: string): Promise<APIResponse<Capability>> {
|
|
78
|
-
return notImplemented<Capability>("get");
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/** @returns 501 Not Implemented */
|
|
82
|
-
async getMatrix(agentId: string): Promise<APIResponse<CapabilityMatrix>> {
|
|
83
|
-
return notImplemented<CapabilityMatrix>("getMatrix");
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/** @returns 501 Not Implemented */
|
|
87
|
-
async test(agentId: string, capabilityId: string): Promise<APIResponse<CapabilityTest>> {
|
|
88
|
-
return notImplemented<CapabilityTest>("test");
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/** @returns 501 Not Implemented */
|
|
92
|
-
async testAll(agentId: string): Promise<APIResponse<CapabilityTest[]>> {
|
|
93
|
-
return notImplemented<CapabilityTest[]>("testAll");
|
|
94
|
-
}
|
|
95
|
-
}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Deployments Module - Agent Lifecycle
|
|
3
|
-
*
|
|
4
|
-
* NOT IMPLEMENTED - Backend endpoint not available.
|
|
5
|
-
* All methods return 501 NotImplemented.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import type { RawClient, APIResponse } from "../client/raw.js";
|
|
9
|
-
|
|
10
|
-
// ============================================================================
|
|
11
|
-
// Types
|
|
12
|
-
// ============================================================================
|
|
13
|
-
|
|
14
|
-
export type DeploymentStatus = "pending" | "building" | "deploying" | "active" | "failed" | "rolled_back" | "deactivated";
|
|
15
|
-
export type Environment = "development" | "staging" | "production";
|
|
16
|
-
|
|
17
|
-
export interface Deployment {
|
|
18
|
-
id: string;
|
|
19
|
-
agent_id: string;
|
|
20
|
-
version_id: string;
|
|
21
|
-
environment: Environment;
|
|
22
|
-
status: DeploymentStatus;
|
|
23
|
-
endpoint_url?: string;
|
|
24
|
-
deployed_at?: string;
|
|
25
|
-
created_at: string;
|
|
26
|
-
created_by: string;
|
|
27
|
-
rollback_version_id?: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface DeploymentConfig {
|
|
31
|
-
replicas?: number;
|
|
32
|
-
memory_mb?: number;
|
|
33
|
-
timeout_seconds?: number;
|
|
34
|
-
env_vars?: Record<string, string>;
|
|
35
|
-
auto_scale?: boolean;
|
|
36
|
-
min_replicas?: number;
|
|
37
|
-
max_replicas?: number;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export interface DeploymentHealth {
|
|
41
|
-
deployment_id: string;
|
|
42
|
-
healthy: boolean;
|
|
43
|
-
replicas_running: number;
|
|
44
|
-
replicas_desired: number;
|
|
45
|
-
last_check: string;
|
|
46
|
-
error?: string;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// ============================================================================
|
|
50
|
-
// Helper for 501 responses
|
|
51
|
-
// ============================================================================
|
|
52
|
-
|
|
53
|
-
function notImplemented<T>(method: string): APIResponse<T> {
|
|
54
|
-
return {
|
|
55
|
-
data: undefined,
|
|
56
|
-
error: {
|
|
57
|
-
code: "NOT_IMPLEMENTED",
|
|
58
|
-
message: `DeploymentsModule.${method}() is not implemented. Backend endpoint not available.`,
|
|
59
|
-
},
|
|
60
|
-
response: new Response(null, { status: 501, statusText: "Not Implemented" }),
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// ============================================================================
|
|
65
|
-
// Module
|
|
66
|
-
// ============================================================================
|
|
67
|
-
|
|
68
|
-
export class DeploymentsModule {
|
|
69
|
-
constructor(private client: RawClient, private headers: () => Record<string, string>) { }
|
|
70
|
-
|
|
71
|
-
/** @returns 501 Not Implemented */
|
|
72
|
-
async list(params?: {
|
|
73
|
-
agent_id?: string;
|
|
74
|
-
environment?: Environment;
|
|
75
|
-
status?: DeploymentStatus;
|
|
76
|
-
limit?: number;
|
|
77
|
-
offset?: number;
|
|
78
|
-
}): Promise<APIResponse<{ items: Deployment[]; total: number }>> {
|
|
79
|
-
return notImplemented<{ items: Deployment[]; total: number }>("list");
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/** @returns 501 Not Implemented */
|
|
83
|
-
async get(deploymentId: string): Promise<APIResponse<Deployment>> {
|
|
84
|
-
return notImplemented<Deployment>("get");
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/** @returns 501 Not Implemented */
|
|
88
|
-
async deploy(agentId: string, environment: Environment, config?: DeploymentConfig): Promise<APIResponse<Deployment>> {
|
|
89
|
-
return notImplemented<Deployment>("deploy");
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/** @returns 501 Not Implemented */
|
|
93
|
-
async promote(deploymentId: string, toEnvironment: Environment): Promise<APIResponse<Deployment>> {
|
|
94
|
-
return notImplemented<Deployment>("promote");
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/** @returns 501 Not Implemented */
|
|
98
|
-
async rollback(deploymentId: string): Promise<APIResponse<Deployment>> {
|
|
99
|
-
return notImplemented<Deployment>("rollback");
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/** @returns 501 Not Implemented */
|
|
103
|
-
async health(deploymentId: string): Promise<APIResponse<DeploymentHealth>> {
|
|
104
|
-
return notImplemented<DeploymentHealth>("health");
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/** @returns 501 Not Implemented */
|
|
108
|
-
async deactivate(deploymentId: string): Promise<APIResponse<void>> {
|
|
109
|
-
return notImplemented<void>("deactivate");
|
|
110
|
-
}
|
|
111
|
-
}
|