@orkestrel/scaffold 0.0.68 → 0.0.70
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/host/guides/agent.md +66 -8
- package/dist/host/guides/mcp.md +615 -63
- package/dist/host/guides/ollama.md +9 -8
- package/dist/host/guides/tool.md +271 -75
- package/dist/host/manifest.json +6 -6
- package/dist/host/tests/setupPolicy.ts +9 -1
- package/dist/src/core/index.cjs +1 -1
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.js +1 -1
- package/dist/src/core/index.js.map +1 -1
- package/package.json +1 -1
package/dist/host/manifest.json
CHANGED
|
@@ -700,7 +700,7 @@
|
|
|
700
700
|
"storage": "guides/agent.md",
|
|
701
701
|
"destination": "guides/agent.md",
|
|
702
702
|
"executable": false,
|
|
703
|
-
"digest": "
|
|
703
|
+
"digest": "55487dfd29fd256ff5d770b422d9fc4f45d4bfad48edf094fefa3c36a8b069ba"
|
|
704
704
|
},
|
|
705
705
|
{
|
|
706
706
|
"storage": "guides/brief.md",
|
|
@@ -802,7 +802,7 @@
|
|
|
802
802
|
"storage": "guides/mcp.md",
|
|
803
803
|
"destination": "guides/mcp.md",
|
|
804
804
|
"executable": false,
|
|
805
|
-
"digest": "
|
|
805
|
+
"digest": "8cc580a9819d11771b585e8a915fcc6b7bd3ff4a575b6c6482cd76c501367664"
|
|
806
806
|
},
|
|
807
807
|
{
|
|
808
808
|
"storage": "guides/middleware.md",
|
|
@@ -826,7 +826,7 @@
|
|
|
826
826
|
"storage": "guides/ollama.md",
|
|
827
827
|
"destination": "guides/ollama.md",
|
|
828
828
|
"executable": false,
|
|
829
|
-
"digest": "
|
|
829
|
+
"digest": "cec4bcaa69a0f8e191decff335f3c431b9ddf0e11d29cd6ff6368c46e1108b0f"
|
|
830
830
|
},
|
|
831
831
|
{
|
|
832
832
|
"storage": "guides/pool.md",
|
|
@@ -958,7 +958,7 @@
|
|
|
958
958
|
"storage": "guides/tool.md",
|
|
959
959
|
"destination": "guides/tool.md",
|
|
960
960
|
"executable": false,
|
|
961
|
-
"digest": "
|
|
961
|
+
"digest": "ad68991917befd3cc8b2816035e91ceac62fad3a281684a9d943d7fc49615d48"
|
|
962
962
|
},
|
|
963
963
|
{
|
|
964
964
|
"storage": "guides/toolbox.md",
|
|
@@ -1030,7 +1030,7 @@
|
|
|
1030
1030
|
"storage": "tests/setupPolicy.ts",
|
|
1031
1031
|
"destination": "tests/setupPolicy.ts",
|
|
1032
1032
|
"executable": false,
|
|
1033
|
-
"digest": "
|
|
1033
|
+
"digest": "22f94ac2be89aa62b812077b9786a9612898576e76bb3da488e4789e130447df"
|
|
1034
1034
|
}
|
|
1035
1035
|
],
|
|
1036
1036
|
"roots": [
|
|
@@ -1993,5 +1993,5 @@
|
|
|
1993
1993
|
]
|
|
1994
1994
|
}
|
|
1995
1995
|
],
|
|
1996
|
-
"digest": "
|
|
1996
|
+
"digest": "e5a6685504f71abc005e8f4f9e1f6167d3ecac14a966b4b7fa3701fb9805245c"
|
|
1997
1997
|
}
|
|
@@ -81,6 +81,13 @@ export const POLICY_SURFACE_EXPORT_CASES = Object.freeze([
|
|
|
81
81
|
{ label: 'interface', text: ' export interface waitForCondition {}' },
|
|
82
82
|
{ label: 'type', text: ' export type waitForCondition = string' },
|
|
83
83
|
{ label: 'function', text: ' export function waitForCondition() {}' },
|
|
84
|
+
{
|
|
85
|
+
label: 'function overload',
|
|
86
|
+
text:
|
|
87
|
+
'export function waitForCondition(value: string): void\n' +
|
|
88
|
+
'export function waitForCondition(value: number): void\n' +
|
|
89
|
+
'export function waitForCondition() {}',
|
|
90
|
+
},
|
|
84
91
|
{ label: 're-export list', text: "export { other as waitForCondition } from './helpers.js'" },
|
|
85
92
|
{ label: 'local export list', text: 'const other = 1; export { other as waitForCondition }' },
|
|
86
93
|
])
|
|
@@ -1754,6 +1761,7 @@ export function readPolicyDeclarations(
|
|
|
1754
1761
|
}
|
|
1755
1762
|
if (
|
|
1756
1763
|
declaration.type === 'FunctionDeclaration' ||
|
|
1764
|
+
declaration.type === 'TSDeclareFunction' ||
|
|
1757
1765
|
declaration.type === 'ClassDeclaration' ||
|
|
1758
1766
|
declaration.type === 'TSInterfaceDeclaration' ||
|
|
1759
1767
|
declaration.type === 'TSTypeAliasDeclaration' ||
|
|
@@ -1974,7 +1982,7 @@ export function inspectPolicySurface(root: string): readonly PolicyViolation[] {
|
|
|
1974
1982
|
const seen = new Set<string>()
|
|
1975
1983
|
for (const declaration of declarations) {
|
|
1976
1984
|
for (const owner of owners.get(declaration.name) ?? []) {
|
|
1977
|
-
const key = `${declaration.path}\n${declaration.
|
|
1985
|
+
const key = `${declaration.path}\n${declaration.name}\n${owner}`
|
|
1978
1986
|
if (seen.has(key)) continue
|
|
1979
1987
|
seen.add(key)
|
|
1980
1988
|
violations.push(
|
package/dist/src/core/index.cjs
CHANGED
|
@@ -4,7 +4,7 @@ let _orkestrel_template = require("@orkestrel/template");
|
|
|
4
4
|
let _orkestrel_emitter = require("@orkestrel/emitter");
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "@orkestrel/scaffold",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.70",
|
|
8
8
|
description: "Scaffold workspaces with commands: new, audit, repair, catalog, and overwrite.",
|
|
9
9
|
keywords: [
|
|
10
10
|
"audit",
|