@arke-institute/sdk 2.2.0 → 2.3.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/generated/index.d.cts +5 -7
- package/dist/generated/index.d.ts +5 -7
- package/openapi/spec.json +10 -22
- package/openapi/version.json +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* Source: Arke v1 API
|
|
8
8
|
* Version: 1.0.0
|
|
9
|
-
* Generated: 2026-01-
|
|
9
|
+
* Generated: 2026-01-01T18:48:14.305Z
|
|
10
10
|
*/
|
|
11
11
|
type paths = {
|
|
12
12
|
"/auth/register": {
|
|
@@ -6615,11 +6615,6 @@ type components = {
|
|
|
6615
6615
|
/** @description True if some agents need permission grants */
|
|
6616
6616
|
grants_needed: boolean;
|
|
6617
6617
|
};
|
|
6618
|
-
AgentLogRef: {
|
|
6619
|
-
pi: string;
|
|
6620
|
-
/** @enum {string} */
|
|
6621
|
-
type: "file";
|
|
6622
|
-
};
|
|
6623
6618
|
InvokeGrantResult: {
|
|
6624
6619
|
agent_id: string;
|
|
6625
6620
|
role: string;
|
|
@@ -6635,7 +6630,8 @@ type components = {
|
|
|
6635
6630
|
* @example job_01JEXAMPLEID12345678901
|
|
6636
6631
|
*/
|
|
6637
6632
|
job_id: string;
|
|
6638
|
-
|
|
6633
|
+
/** @description The job collection where agent writes logs */
|
|
6634
|
+
job_collection: string;
|
|
6639
6635
|
grants: components["schemas"]["InvokeGrantResult"][];
|
|
6640
6636
|
/**
|
|
6641
6637
|
* @description IPFS Content Identifier (CID)
|
|
@@ -6665,6 +6661,8 @@ type components = {
|
|
|
6665
6661
|
InvokeAgentRequest: {
|
|
6666
6662
|
/** @description Target collection ID to operate on */
|
|
6667
6663
|
target: string;
|
|
6664
|
+
/** @description Job collection where agent should write logs. If not provided, creates new root collection. */
|
|
6665
|
+
job_collection?: string;
|
|
6668
6666
|
/** @description Input data for the agent (validated against agent input_schema) */
|
|
6669
6667
|
input?: {
|
|
6670
6668
|
[key: string]: unknown;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* Source: Arke v1 API
|
|
8
8
|
* Version: 1.0.0
|
|
9
|
-
* Generated: 2026-01-
|
|
9
|
+
* Generated: 2026-01-01T18:48:14.305Z
|
|
10
10
|
*/
|
|
11
11
|
type paths = {
|
|
12
12
|
"/auth/register": {
|
|
@@ -6615,11 +6615,6 @@ type components = {
|
|
|
6615
6615
|
/** @description True if some agents need permission grants */
|
|
6616
6616
|
grants_needed: boolean;
|
|
6617
6617
|
};
|
|
6618
|
-
AgentLogRef: {
|
|
6619
|
-
pi: string;
|
|
6620
|
-
/** @enum {string} */
|
|
6621
|
-
type: "file";
|
|
6622
|
-
};
|
|
6623
6618
|
InvokeGrantResult: {
|
|
6624
6619
|
agent_id: string;
|
|
6625
6620
|
role: string;
|
|
@@ -6635,7 +6630,8 @@ type components = {
|
|
|
6635
6630
|
* @example job_01JEXAMPLEID12345678901
|
|
6636
6631
|
*/
|
|
6637
6632
|
job_id: string;
|
|
6638
|
-
|
|
6633
|
+
/** @description The job collection where agent writes logs */
|
|
6634
|
+
job_collection: string;
|
|
6639
6635
|
grants: components["schemas"]["InvokeGrantResult"][];
|
|
6640
6636
|
/**
|
|
6641
6637
|
* @description IPFS Content Identifier (CID)
|
|
@@ -6665,6 +6661,8 @@ type components = {
|
|
|
6665
6661
|
InvokeAgentRequest: {
|
|
6666
6662
|
/** @description Target collection ID to operate on */
|
|
6667
6663
|
target: string;
|
|
6664
|
+
/** @description Job collection where agent should write logs. If not provided, creates new root collection. */
|
|
6665
|
+
job_collection?: string;
|
|
6668
6666
|
/** @description Input data for the agent (validated against agent input_schema) */
|
|
6669
6667
|
input?: {
|
|
6670
6668
|
[key: string]: unknown;
|
package/openapi/spec.json
CHANGED
|
@@ -4084,25 +4084,6 @@
|
|
|
4084
4084
|
"grants_needed"
|
|
4085
4085
|
]
|
|
4086
4086
|
},
|
|
4087
|
-
"AgentLogRef": {
|
|
4088
|
-
"type": "object",
|
|
4089
|
-
"properties": {
|
|
4090
|
-
"pi": {
|
|
4091
|
-
"type": "string",
|
|
4092
|
-
"pattern": "^(?:II[0-9A-HJKMNP-TV-Z]{24}|[FC][0-9A-HJKMNP-TV-Z]{25}|[0-9A-HJKMNP-TV-Z]{26})$"
|
|
4093
|
-
},
|
|
4094
|
-
"type": {
|
|
4095
|
-
"type": "string",
|
|
4096
|
-
"enum": [
|
|
4097
|
-
"file"
|
|
4098
|
-
]
|
|
4099
|
-
}
|
|
4100
|
-
},
|
|
4101
|
-
"required": [
|
|
4102
|
-
"pi",
|
|
4103
|
-
"type"
|
|
4104
|
-
]
|
|
4105
|
-
},
|
|
4106
4087
|
"InvokeGrantResult": {
|
|
4107
4088
|
"type": "object",
|
|
4108
4089
|
"properties": {
|
|
@@ -4142,8 +4123,10 @@
|
|
|
4142
4123
|
"description": "Unique job identifier",
|
|
4143
4124
|
"example": "job_01JEXAMPLEID12345678901"
|
|
4144
4125
|
},
|
|
4145
|
-
"
|
|
4146
|
-
"
|
|
4126
|
+
"job_collection": {
|
|
4127
|
+
"type": "string",
|
|
4128
|
+
"pattern": "^(?:II[0-9A-HJKMNP-TV-Z]{24}|[FC][0-9A-HJKMNP-TV-Z]{25}|[0-9A-HJKMNP-TV-Z]{26})$",
|
|
4129
|
+
"description": "The job collection where agent writes logs"
|
|
4147
4130
|
},
|
|
4148
4131
|
"grants": {
|
|
4149
4132
|
"type": "array",
|
|
@@ -4165,7 +4148,7 @@
|
|
|
4165
4148
|
"required": [
|
|
4166
4149
|
"status",
|
|
4167
4150
|
"job_id",
|
|
4168
|
-
"
|
|
4151
|
+
"job_collection",
|
|
4169
4152
|
"grants",
|
|
4170
4153
|
"target_cid",
|
|
4171
4154
|
"expires_at"
|
|
@@ -4231,6 +4214,11 @@
|
|
|
4231
4214
|
"pattern": "^(?:II[0-9A-HJKMNP-TV-Z]{24}|[FC][0-9A-HJKMNP-TV-Z]{25}|[0-9A-HJKMNP-TV-Z]{26})$",
|
|
4232
4215
|
"description": "Target collection ID to operate on"
|
|
4233
4216
|
},
|
|
4217
|
+
"job_collection": {
|
|
4218
|
+
"type": "string",
|
|
4219
|
+
"pattern": "^(?:II[0-9A-HJKMNP-TV-Z]{24}|[FC][0-9A-HJKMNP-TV-Z]{25}|[0-9A-HJKMNP-TV-Z]{26})$",
|
|
4220
|
+
"description": "Job collection where agent should write logs. If not provided, creates new root collection."
|
|
4221
|
+
},
|
|
4234
4222
|
"input": {
|
|
4235
4223
|
"type": "object",
|
|
4236
4224
|
"additionalProperties": {
|
package/openapi/version.json
CHANGED