@grunnverk/kilde 0.1.0 → 1.5.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/.github/workflows/npm-publish.yml +52 -39
- package/dist/constants.js +3 -3
- package/dist/mcp-server.js +3 -3
- package/dist/mcp-server.js.map +2 -2
- package/package.json +6 -6
|
@@ -1,48 +1,61 @@
|
|
|
1
|
-
|
|
1
|
+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
+
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
|
3
|
+
|
|
4
|
+
name: Node.js Package (npm)
|
|
5
|
+
|
|
6
|
+
env:
|
|
7
|
+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
|
2
8
|
|
|
3
9
|
on:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
10
|
+
release:
|
|
11
|
+
types: [created]
|
|
12
|
+
|
|
13
|
+
permissions:
|
|
14
|
+
contents: write
|
|
15
|
+
packages: write
|
|
16
|
+
id-token: write
|
|
7
17
|
|
|
8
18
|
jobs:
|
|
9
|
-
|
|
19
|
+
build:
|
|
10
20
|
runs-on: ubuntu-latest
|
|
11
|
-
|
|
12
|
-
contents: write
|
|
13
|
-
|
|
21
|
+
timeout-minutes: 15
|
|
14
22
|
steps:
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
- name: Setup Node.js
|
|
19
|
-
uses: actions/setup-node@v4
|
|
23
|
+
- uses: actions/checkout@v4
|
|
24
|
+
- uses: actions/setup-node@v4
|
|
20
25
|
with:
|
|
21
|
-
node-version:
|
|
22
|
-
registry-url: 'https://registry.npmjs.org'
|
|
23
|
-
|
|
26
|
+
node-version: 24
|
|
24
27
|
- name: Install dependencies
|
|
25
|
-
run:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
28
|
+
run: |
|
|
29
|
+
# Use public npm registry (package-lock.json is gitignored)
|
|
30
|
+
npm config set registry https://registry.npmjs.org/
|
|
31
|
+
# Clean install to ensure platform-specific optional deps (rollup native bindings) are resolved correctly
|
|
32
|
+
# See: https://github.com/npm/cli/issues/4828
|
|
33
|
+
rm -rf node_modules package-lock.json
|
|
34
|
+
npm install --force
|
|
35
|
+
timeout-minutes: 10
|
|
36
|
+
- run: npm run lint
|
|
37
|
+
- run: npm run build
|
|
38
|
+
- run: npm run test
|
|
39
|
+
|
|
40
|
+
publish-npm:
|
|
41
|
+
needs: build
|
|
42
|
+
runs-on: ubuntu-latest
|
|
43
|
+
timeout-minutes: 15
|
|
44
|
+
steps:
|
|
45
|
+
- uses: actions/checkout@v4
|
|
46
|
+
- uses: actions/setup-node@v4
|
|
44
47
|
with:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
node-version: 24
|
|
49
|
+
registry-url: https://registry.npmjs.org/
|
|
50
|
+
- name: Update npm
|
|
51
|
+
run: npm install -g npm@latest
|
|
52
|
+
- name: Install dependencies
|
|
53
|
+
run: |
|
|
54
|
+
# Use public npm registry (package-lock.json is gitignored)
|
|
55
|
+
npm config set registry https://registry.npmjs.org/
|
|
56
|
+
# Clean install to ensure platform-specific optional deps (rollup native bindings) are resolved correctly
|
|
57
|
+
# See: https://github.com/npm/cli/issues/4828
|
|
58
|
+
rm -rf node_modules package-lock.json
|
|
59
|
+
npm install --force
|
|
60
|
+
timeout-minutes: 10
|
|
61
|
+
- run: npm publish --access public
|
package/dist/constants.js
CHANGED
|
@@ -3,9 +3,9 @@ import path from 'path';
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Version and build information (replaced at build time)
|
|
6
|
-
*/ const VERSION = '
|
|
7
|
-
const BUILD_HOSTNAME = '
|
|
8
|
-
const BUILD_TIMESTAMP = '2026-01-
|
|
6
|
+
*/ const VERSION = '1.5.0 (HEAD/e5502cc T:v1.5.1 2026-01-22 12:46:23 -0800) linux x64 v24.12.0';
|
|
7
|
+
const BUILD_HOSTNAME = 'runnervmmtnos';
|
|
8
|
+
const BUILD_TIMESTAMP = '2026-01-22T20:51:14.392Z';
|
|
9
9
|
/**
|
|
10
10
|
* Program identification
|
|
11
11
|
*/ const PROGRAM_NAME = 'kilde';
|
package/dist/mcp-server.js
CHANGED
|
@@ -2251,7 +2251,7 @@ var Doc = class {
|
|
|
2251
2251
|
var version = {
|
|
2252
2252
|
major: 4,
|
|
2253
2253
|
minor: 3,
|
|
2254
|
-
patch:
|
|
2254
|
+
patch: 6
|
|
2255
2255
|
};
|
|
2256
2256
|
|
|
2257
2257
|
// node_modules/zod/v4/core/schemas.js
|
|
@@ -3542,7 +3542,7 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
3542
3542
|
if (keyResult instanceof Promise) {
|
|
3543
3543
|
throw new Error("Async schemas not supported in object keys currently");
|
|
3544
3544
|
}
|
|
3545
|
-
const checkNumericKey = typeof key === "string" && number.test(key) && keyResult.issues.length
|
|
3545
|
+
const checkNumericKey = typeof key === "string" && number.test(key) && keyResult.issues.length;
|
|
3546
3546
|
if (checkNumericKey) {
|
|
3547
3547
|
const retryResult = def.keyType._zod.run({ value: Number(key), issues: [] }, ctx);
|
|
3548
3548
|
if (retryResult instanceof Promise) {
|
|
@@ -11090,7 +11090,7 @@ function finalize(ctx, schema2) {
|
|
|
11090
11090
|
}
|
|
11091
11091
|
}
|
|
11092
11092
|
}
|
|
11093
|
-
if (refSchema.$ref) {
|
|
11093
|
+
if (refSchema.$ref && refSeen.def) {
|
|
11094
11094
|
for (const key in schema3) {
|
|
11095
11095
|
if (key === "$ref" || key === "allOf")
|
|
11096
11096
|
continue;
|