@kosuke-ai/kosuke 1.0.42 → 1.0.43
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
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.43
|
|
4
|
+
|
|
5
|
+
- Add `--on-conflict rename` to `kosuke files set` for personal Files: a name the folder already holds is stored as the first free "name (2).ext" instead of replacing the file.
|
|
6
|
+
|
|
3
7
|
## 1.0.42
|
|
4
8
|
|
|
5
9
|
- Merge agent status lists each pull request's state: merged, ejected, in-batch, waiting, failed or ready.
|
|
@@ -8,7 +8,7 @@ export const operation = {
|
|
|
8
8
|
"variant": {
|
|
9
9
|
"scope": "personal"
|
|
10
10
|
},
|
|
11
|
-
"summary": "Put a file in your personal Files by path, creating parent folders and replacing an existing file. Send text or exactly one attachment, at most 25 MiB. ifVersion refuses a stale replace. Alternatively provide name and parentId (null for the root).",
|
|
11
|
+
"summary": "Put a file in your personal Files by path, creating parent folders and replacing an existing file. Send text or exactly one attachment, at most 25 MiB. ifVersion refuses a stale replace. Alternatively provide name and parentId (null for the root). onConflict=rename never replaces: a name the folder already holds is stored as the first free \"name (2).ext\", \"name (3).ext\", and the response names the file it became; it takes no ifVersion.",
|
|
12
12
|
"pathParams": [],
|
|
13
13
|
"query": [],
|
|
14
14
|
"body": {
|
|
@@ -48,6 +48,16 @@ export const operation = {
|
|
|
48
48
|
"flag": "if-version",
|
|
49
49
|
"kind": "integer",
|
|
50
50
|
"required": false
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "onConflict",
|
|
54
|
+
"flag": "on-conflict",
|
|
55
|
+
"kind": "string",
|
|
56
|
+
"required": false,
|
|
57
|
+
"choices": [
|
|
58
|
+
"replace",
|
|
59
|
+
"rename"
|
|
60
|
+
]
|
|
51
61
|
}
|
|
52
62
|
],
|
|
53
63
|
"required": true
|
|
@@ -82,6 +92,16 @@ export const operation = {
|
|
|
82
92
|
"flag": "if-version",
|
|
83
93
|
"kind": "string",
|
|
84
94
|
"required": false
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "onConflict",
|
|
98
|
+
"flag": "on-conflict",
|
|
99
|
+
"kind": "string",
|
|
100
|
+
"required": false,
|
|
101
|
+
"choices": [
|
|
102
|
+
"replace",
|
|
103
|
+
"rename"
|
|
104
|
+
]
|
|
85
105
|
}
|
|
86
106
|
],
|
|
87
107
|
"attachments": {
|
package/openapi.json
CHANGED
|
@@ -26384,7 +26384,7 @@
|
|
|
26384
26384
|
},
|
|
26385
26385
|
"post": {
|
|
26386
26386
|
"operationId": "filesSetPersonal",
|
|
26387
|
-
"summary": "Put a file in your personal Files by path, creating parent folders and replacing an existing file. Send text or exactly one attachment, at most 25 MiB. ifVersion refuses a stale replace. Alternatively provide name and parentId (null for the root).",
|
|
26387
|
+
"summary": "Put a file in your personal Files by path, creating parent folders and replacing an existing file. Send text or exactly one attachment, at most 25 MiB. ifVersion refuses a stale replace. Alternatively provide name and parentId (null for the root). onConflict=rename never replaces: a name the folder already holds is stored as the first free \"name (2).ext\", \"name (3).ext\", and the response names the file it became; it takes no ifVersion.",
|
|
26388
26388
|
"tags": ["files"],
|
|
26389
26389
|
"x-kosuke-command": ["files", "set"],
|
|
26390
26390
|
"x-kosuke-variant": {
|
|
@@ -26435,6 +26435,10 @@
|
|
|
26435
26435
|
"type": "integer",
|
|
26436
26436
|
"minimum": 1,
|
|
26437
26437
|
"maximum": 9007199254740991
|
|
26438
|
+
},
|
|
26439
|
+
"onConflict": {
|
|
26440
|
+
"type": "string",
|
|
26441
|
+
"enum": ["replace", "rename"]
|
|
26438
26442
|
}
|
|
26439
26443
|
}
|
|
26440
26444
|
}
|
|
@@ -26457,6 +26461,10 @@
|
|
|
26457
26461
|
},
|
|
26458
26462
|
"ifVersion": {
|
|
26459
26463
|
"type": "string"
|
|
26464
|
+
},
|
|
26465
|
+
"onConflict": {
|
|
26466
|
+
"type": "string",
|
|
26467
|
+
"enum": ["replace", "rename"]
|
|
26460
26468
|
}
|
|
26461
26469
|
}
|
|
26462
26470
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.43",
|
|
4
4
|
"description": "Kosuke platform CLI. The client customers install to drive app.kosuke.ai from their own machine.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"vitest": "^4.1.12"
|
|
41
41
|
},
|
|
42
42
|
"kosukeRelease": {
|
|
43
|
-
"sourceCommit": "
|
|
44
|
-
"sourceIdentity": "
|
|
43
|
+
"sourceCommit": "8d3004f83bccdc2258305caa89d1ef657d39967e",
|
|
44
|
+
"sourceIdentity": "37df94a39a60f8639dc0f8cc5a04d50419e307f6091538bbd1005316dc5461f9",
|
|
45
45
|
"fragments": [
|
|
46
|
-
"
|
|
46
|
+
"personal-files-rename-on-conflict-s3n5qa.json"
|
|
47
47
|
]
|
|
48
48
|
}
|
|
49
49
|
}
|