@nagarjuna2002/ios-agent 0.3.0 → 0.4.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/README.md +4 -0
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -175,3 +175,7 @@ Optional `--icon-layers IconLayers --icon-background "#2457DB"` renders the orde
|
|
|
175
175
|
SVG layers. Existing catalogs are never overwritten. See
|
|
176
176
|
[the schema and free workflow](../docs/design/asset-generation.md). Native `.icon`
|
|
177
177
|
authoring still uses Apple Icon Composer.
|
|
178
|
+
|
|
179
|
+
## Local Apple documentation
|
|
180
|
+
|
|
181
|
+
Use `ios-agent-mcp docs status` and `ios-agent-mcp docs symbol SwiftUI.NavigationStack` for version-aware documentation grounding. The adapter prefers Xcode MCP DocumentationSearch, then bounded SDK evidence. Apple’s archive is never bundled. Bridge authorization is required; retrieval is not automatic code validation. [Setup, tools and limitations](https://nagarjuna2997.github.io/ios-agent-skill/guides/tooling-local-apple-documentation.html).
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { run } from "./commands.js";
|
|
3
|
-
process.
|
|
3
|
+
if (['docs', 'xcode-mcp'].includes(process.argv[2] ?? '') || (process.argv[2] === 'doctor' && process.argv[3] === 'xcode')) {
|
|
4
|
+
// The unified package owns the documentation backend; never fetch/install implicitly.
|
|
5
|
+
const { spawn } = await import('node:child_process');
|
|
6
|
+
const child = spawn('ios-agent-mcp', process.argv.slice(2), { stdio: 'inherit' });
|
|
7
|
+
child.on('error', () => { console.error('Install ios-agent-mcp to use docs commands.'); process.exitCode = 1; });
|
|
8
|
+
child.on('exit', code => { process.exitCode = code ?? 1; });
|
|
9
|
+
}
|
|
10
|
+
else
|
|
11
|
+
process.exitCode = run(process.argv.slice(2));
|
|
4
12
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAEpC,OAAO,CAAC,QAAQ,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAEpC,IAAI,CAAC,MAAM,EAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,KAAG,QAAQ,IAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,EAAE,CAAC;IAClH,sFAAsF;IACtF,MAAM,EAAC,KAAK,EAAC,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,CAAC;IACnD,MAAM,KAAK,GAAG,KAAK,CAAC,eAAe,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAC,KAAK,EAAC,SAAS,EAAC,CAAC,CAAC;IAC/E,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE,GAAE,OAAO,CAAC,KAAK,CAAC,6CAA6C,CAAC,CAAC,CAAA,OAAO,CAAC,QAAQ,GAAC,CAAC,CAAC,CAAA,CAAC,CAAC,CAAC;IAC5G,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,GAAE,OAAO,CAAC,QAAQ,GAAC,IAAI,IAAI,CAAC,CAAC,CAAA,CAAC,CAAC,CAAC;AAC1D,CAAC;;IAAM,OAAO,CAAC,QAAQ,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nagarjuna2002/ios-agent",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Project scaffolding and layout management for iOS work. Keeps tool-owned files out of the user's way.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -42,5 +42,6 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@resvg/resvg-js": "2.6.2",
|
|
44
44
|
"pngjs": "7.0.0"
|
|
45
|
-
}
|
|
45
|
+
},
|
|
46
|
+
"homepage": "https://nagarjuna2997.github.io/ios-agent-skill/"
|
|
46
47
|
}
|