@kinloom/cli 0.1.0 → 0.1.1
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.js +1 -1
- package/dist/commands/init.js +3 -3
- package/package.json +2 -2
package/dist/client.js
CHANGED
|
@@ -138,7 +138,7 @@ export class KinloomApiClient {
|
|
|
138
138
|
this.baseUrl = normalizeBaseUrl(options.baseUrl);
|
|
139
139
|
this.token = options.token?.trim() || undefined;
|
|
140
140
|
this.fetchImpl = options.fetchImpl ?? globalThis.fetch;
|
|
141
|
-
this.userAgent = options.userAgent ?? 'kinloom-cli/0.1.
|
|
141
|
+
this.userAgent = options.userAgent ?? 'kinloom-cli/0.1.1';
|
|
142
142
|
}
|
|
143
143
|
buildHeaders(extra) {
|
|
144
144
|
const headers = new Headers();
|
package/dist/commands/init.js
CHANGED
|
@@ -52,13 +52,13 @@ jobs:
|
|
|
52
52
|
env:
|
|
53
53
|
KINLOOM_TOKEN: \${{ secrets.KINLOOM_BACKUP_TOKEN }}
|
|
54
54
|
run: |
|
|
55
|
-
npx @kinloom/cli export-yaml \\
|
|
55
|
+
npx -y @kinloom/cli@latest export-yaml \\
|
|
56
56
|
--site "\${{ vars.KINLOOM_SITE_URL }}" \\
|
|
57
57
|
--out data \\
|
|
58
58
|
--state-file data/.last-backup-revision
|
|
59
59
|
- name: Commit backup when revision advanced
|
|
60
60
|
run: |
|
|
61
|
-
if git
|
|
61
|
+
if [ -z "$(git status --porcelain data)" ]; then
|
|
62
62
|
echo "No archive changes since last backup."
|
|
63
63
|
exit 0
|
|
64
64
|
fi
|
|
@@ -88,7 +88,7 @@ jobs:
|
|
|
88
88
|
env:
|
|
89
89
|
KINLOOM_TOKEN: \${{ secrets.KINLOOM_BACKUP_TOKEN }}
|
|
90
90
|
run: |
|
|
91
|
-
npx @kinloom/cli reconcile \\
|
|
91
|
+
npx -y @kinloom/cli@latest reconcile \\
|
|
92
92
|
--site "\${{ vars.KINLOOM_SITE_URL }}" \\
|
|
93
93
|
--config kinloom.config.yaml
|
|
94
94
|
`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kinloom/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Operator and AI research agent CLI for initializing, slicing GEDCOM, seeding, submitting batches, and exporting Kinloom archives.",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@kinloom/core": "^0.1.
|
|
35
|
+
"@kinloom/core": "^0.1.1",
|
|
36
36
|
"yaml": "^2.9.1",
|
|
37
37
|
"zod": "^4.6.7"
|
|
38
38
|
}
|