@dgxo/mashadevcli 1.1.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/LICENSE +202 -0
- package/README.md +393 -0
- package/bundle/builtin/skill-creator/SKILL.md +382 -0
- package/bundle/builtin/skill-creator/scripts/init_skill.cjs +239 -0
- package/bundle/builtin/skill-creator/scripts/package_skill.cjs +131 -0
- package/bundle/builtin/skill-creator/scripts/validate_skill.cjs +131 -0
- package/bundle/docs/CONTRIBUTING.md +1 -0
- package/bundle/docs/admin/enterprise-controls.md +115 -0
- package/bundle/docs/assets/connected_devtools.png +0 -0
- package/bundle/docs/assets/gemini-screenshot.png +0 -0
- package/bundle/docs/assets/monitoring-dashboard-logs.png +0 -0
- package/bundle/docs/assets/monitoring-dashboard-metrics.png +0 -0
- package/bundle/docs/assets/monitoring-dashboard-overview.png +0 -0
- package/bundle/docs/assets/release_patch.png +0 -0
- package/bundle/docs/assets/theme-ansi-light.png +0 -0
- package/bundle/docs/assets/theme-ansi.png +0 -0
- package/bundle/docs/assets/theme-atom-one.png +0 -0
- package/bundle/docs/assets/theme-ayu-light.png +0 -0
- package/bundle/docs/assets/theme-ayu.png +0 -0
- package/bundle/docs/assets/theme-custom.png +0 -0
- package/bundle/docs/assets/theme-default-light.png +0 -0
- package/bundle/docs/assets/theme-default.png +0 -0
- package/bundle/docs/assets/theme-dracula.png +0 -0
- package/bundle/docs/assets/theme-github-light.png +0 -0
- package/bundle/docs/assets/theme-github.png +0 -0
- package/bundle/docs/assets/theme-google-light.png +0 -0
- package/bundle/docs/assets/theme-xcode-light.png +0 -0
- package/bundle/docs/changelogs/index.md +867 -0
- package/bundle/docs/changelogs/latest.md +208 -0
- package/bundle/docs/changelogs/preview.md +187 -0
- package/bundle/docs/cli/checkpointing.md +93 -0
- package/bundle/docs/cli/cli-reference.md +115 -0
- package/bundle/docs/cli/creating-skills.md +80 -0
- package/bundle/docs/cli/custom-commands.md +327 -0
- package/bundle/docs/cli/enterprise.md +604 -0
- package/bundle/docs/cli/gemini-ignore.md +71 -0
- package/bundle/docs/cli/gemini-md.md +116 -0
- package/bundle/docs/cli/generation-settings.md +210 -0
- package/bundle/docs/cli/headless.md +50 -0
- package/bundle/docs/cli/model-routing.md +42 -0
- package/bundle/docs/cli/model.md +53 -0
- package/bundle/docs/cli/plan-mode.md +375 -0
- package/bundle/docs/cli/rewind.md +51 -0
- package/bundle/docs/cli/sandbox.md +257 -0
- package/bundle/docs/cli/session-management.md +184 -0
- package/bundle/docs/cli/settings.md +165 -0
- package/bundle/docs/cli/skills.md +134 -0
- package/bundle/docs/cli/system-prompt.md +125 -0
- package/bundle/docs/cli/telemetry.md +922 -0
- package/bundle/docs/cli/themes.md +269 -0
- package/bundle/docs/cli/token-caching.md +20 -0
- package/bundle/docs/cli/trusted-folders.md +126 -0
- package/bundle/docs/cli/tutorials/automation.md +283 -0
- package/bundle/docs/cli/tutorials/file-management.md +142 -0
- package/bundle/docs/cli/tutorials/mcp-setup.md +113 -0
- package/bundle/docs/cli/tutorials/memory-management.md +126 -0
- package/bundle/docs/cli/tutorials/session-management.md +105 -0
- package/bundle/docs/cli/tutorials/shell-commands.md +107 -0
- package/bundle/docs/cli/tutorials/skills-getting-started.md +110 -0
- package/bundle/docs/cli/tutorials/task-planning.md +93 -0
- package/bundle/docs/cli/tutorials/web-tools.md +78 -0
- package/bundle/docs/core/index.md +107 -0
- package/bundle/docs/core/remote-agents.md +84 -0
- package/bundle/docs/core/subagents.md +307 -0
- package/bundle/docs/examples/proxy-script.md +83 -0
- package/bundle/docs/extensions/best-practices.md +188 -0
- package/bundle/docs/extensions/index.md +61 -0
- package/bundle/docs/extensions/reference.md +333 -0
- package/bundle/docs/extensions/releasing.md +154 -0
- package/bundle/docs/extensions/writing-extensions.md +308 -0
- package/bundle/docs/get-started/authentication.md +402 -0
- package/bundle/docs/get-started/examples.md +139 -0
- package/bundle/docs/get-started/gemini-3.md +115 -0
- package/bundle/docs/get-started/index.md +82 -0
- package/bundle/docs/get-started/installation.md +174 -0
- package/bundle/docs/hooks/best-practices.md +709 -0
- package/bundle/docs/hooks/index.md +164 -0
- package/bundle/docs/hooks/reference.md +330 -0
- package/bundle/docs/hooks/writing-hooks.md +474 -0
- package/bundle/docs/ide-integration/ide-companion-spec.md +267 -0
- package/bundle/docs/ide-integration/index.md +224 -0
- package/bundle/docs/index.md +141 -0
- package/bundle/docs/integration-tests.md +211 -0
- package/bundle/docs/issue-and-pr-automation.md +172 -0
- package/bundle/docs/local-development.md +134 -0
- package/bundle/docs/mermaid/context.mmd +103 -0
- package/bundle/docs/mermaid/render-path.mmd +64 -0
- package/bundle/docs/npm.md +62 -0
- package/bundle/docs/redirects.json +20 -0
- package/bundle/docs/reference/commands.md +526 -0
- package/bundle/docs/reference/configuration.md +1786 -0
- package/bundle/docs/reference/keyboard-shortcuts.md +164 -0
- package/bundle/docs/reference/memport.md +246 -0
- package/bundle/docs/reference/policy-engine.md +364 -0
- package/bundle/docs/reference/tools.md +106 -0
- package/bundle/docs/release-confidence.md +164 -0
- package/bundle/docs/releases.md +540 -0
- package/bundle/docs/resources/faq.md +175 -0
- package/bundle/docs/resources/quota-and-pricing.md +165 -0
- package/bundle/docs/resources/tos-privacy.md +102 -0
- package/bundle/docs/resources/troubleshooting.md +176 -0
- package/bundle/docs/resources/uninstall.md +56 -0
- package/bundle/docs/sidebar.json +233 -0
- package/bundle/docs/tools/activate-skill.md +43 -0
- package/bundle/docs/tools/ask-user.md +95 -0
- package/bundle/docs/tools/file-system.md +129 -0
- package/bundle/docs/tools/internal-docs.md +46 -0
- package/bundle/docs/tools/mcp-server.md +1150 -0
- package/bundle/docs/tools/memory.md +35 -0
- package/bundle/docs/tools/planning.md +58 -0
- package/bundle/docs/tools/shell.md +216 -0
- package/bundle/docs/tools/todos.md +35 -0
- package/bundle/docs/tools/web-fetch.md +35 -0
- package/bundle/docs/tools/web-search.md +32 -0
- package/bundle/docs/update/update-guide.md +111 -0
- package/bundle/masha.js +563471 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/client/main.js +89 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/_client-assets.d.ts +7 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/_client-assets.js +9 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/_client-assets.js.map +1 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/index.d.ts +48 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/index.js +299 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/index.js.map +1 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/types.d.ts +36 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/types.js +7 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/types.js.map +1 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/package.json +32 -0
- package/bundle/policies/conseca.toml +6 -0
- package/bundle/policies/discovered.toml +8 -0
- package/bundle/policies/plan.toml +109 -0
- package/bundle/policies/read-only.toml +53 -0
- package/bundle/policies/write.toml +80 -0
- package/bundle/policies/yolo.toml +54 -0
- package/bundle/sandbox-macos-permissive-open.sb +27 -0
- package/bundle/sandbox-macos-permissive-proxied.sb +37 -0
- package/bundle/sandbox-macos-restrictive-open.sb +96 -0
- package/bundle/sandbox-macos-restrictive-proxied.sb +98 -0
- package/bundle/sandbox-macos-strict-open.sb +131 -0
- package/bundle/sandbox-macos-strict-proxied.sb +133 -0
- package/package.json +169 -0
package/package.json
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dgxo/mashadevcli",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"engines": {
|
|
5
|
+
"node": ">=20.0.0"
|
|
6
|
+
},
|
|
7
|
+
"type": "module",
|
|
8
|
+
"workspaces": [
|
|
9
|
+
"packages/*"
|
|
10
|
+
],
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/DGameGT/mashadev-cli.git"
|
|
14
|
+
},
|
|
15
|
+
"config": {
|
|
16
|
+
"sandboxImageUri": "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:1.0.0"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"start": "cross-env NODE_ENV=development node scripts/start.js",
|
|
20
|
+
"start:a2a-server": "CODER_AGENT_PORT=41242 npm run start --workspace @dgxo/mashadevcli-a2a-server",
|
|
21
|
+
"debug": "cross-env DEBUG=1 node --inspect-brk scripts/start.js",
|
|
22
|
+
"deflake": "node scripts/deflake.js",
|
|
23
|
+
"deflake:test:integration:sandbox:none": "npm run deflake -- --command=\"npm run test:integration:sandbox:none -- --retry=0\"",
|
|
24
|
+
"deflake:test:integration:sandbox:docker": "npm run deflake -- --command=\"npm run test:integration:sandbox:docker -- --retry=0\"",
|
|
25
|
+
"auth:npm": "npx google-artifactregistry-auth",
|
|
26
|
+
"auth:docker": "gcloud auth configure-docker us-west1-docker.pkg.dev",
|
|
27
|
+
"auth": "npm run auth:npm && npm run auth:docker",
|
|
28
|
+
"generate": "node scripts/generate-git-commit-info.js",
|
|
29
|
+
"predocs:settings": "npm run build --workspace @dgxo/mashadevcli-core",
|
|
30
|
+
"schema:settings": "tsx ./scripts/generate-settings-schema.ts",
|
|
31
|
+
"docs:settings": "tsx ./scripts/generate-settings-doc.ts",
|
|
32
|
+
"docs:keybindings": "tsx ./scripts/generate-keybindings-doc.ts",
|
|
33
|
+
"build": "node scripts/build.js",
|
|
34
|
+
"build-and-start": "npm run build && npm run start --",
|
|
35
|
+
"build:vscode": "node scripts/build_vscode_companion.js",
|
|
36
|
+
"build:all": "npm run build && npm run build:sandbox && npm run build:vscode",
|
|
37
|
+
"build:packages": "npm run build --workspaces",
|
|
38
|
+
"build:sandbox": "node scripts/build_sandbox.js",
|
|
39
|
+
"build:binary": "node scripts/build_binary.js",
|
|
40
|
+
"bundle": "npm run generate && npm run build --workspace=@dgxo/mashadevcli-devtools && node esbuild.config.js && node scripts/copy_bundle_assets.js",
|
|
41
|
+
"test": "npm run test --workspaces --if-present && npm run test:sea-launch",
|
|
42
|
+
"test:ci": "npm run test:ci --workspaces --if-present && npm run test:scripts && npm run test:sea-launch",
|
|
43
|
+
"test:scripts": "vitest run --config ./scripts/tests/vitest.config.ts",
|
|
44
|
+
"test:sea-launch": "vitest run sea/sea-launch.test.js",
|
|
45
|
+
"test:always_passing_evals": "vitest run --config evals/vitest.config.ts",
|
|
46
|
+
"test:all_evals": "cross-env RUN_EVALS=1 vitest run --config evals/vitest.config.ts",
|
|
47
|
+
"test:e2e": "cross-env VERBOSE=true KEEP_OUTPUT=true npm run test:integration:sandbox:none",
|
|
48
|
+
"test:integration:all": "npm run test:integration:sandbox:none && npm run test:integration:sandbox:docker && npm run test:integration:sandbox:podman",
|
|
49
|
+
"test:integration:sandbox:none": "cross-env GEMINI_SANDBOX=false vitest run --root ./integration-tests",
|
|
50
|
+
"test:integration:sandbox:docker": "cross-env GEMINI_SANDBOX=docker npm run build:sandbox && cross-env GEMINI_SANDBOX=docker vitest run --root ./integration-tests",
|
|
51
|
+
"test:integration:sandbox:podman": "cross-env GEMINI_SANDBOX=podman vitest run --root ./integration-tests",
|
|
52
|
+
"lint": "eslint . --cache",
|
|
53
|
+
"lint:fix": "eslint . --fix --ext .ts,.tsx && eslint integration-tests --fix && eslint scripts --fix && npm run format",
|
|
54
|
+
"lint:ci": "npm run lint:all",
|
|
55
|
+
"lint:all": "node scripts/lint.js",
|
|
56
|
+
"format": "prettier --experimental-cli --write .",
|
|
57
|
+
"typecheck": "npm run typecheck --workspaces --if-present",
|
|
58
|
+
"preflight": "npm run clean && npm ci && npm run format && npm run build && npm run lint:ci && npm run typecheck && npm run test:ci",
|
|
59
|
+
"prepare": "husky && npm run bundle",
|
|
60
|
+
"prepare:package": "node scripts/prepare-package.js",
|
|
61
|
+
"release:version": "node scripts/version.js",
|
|
62
|
+
"telemetry": "node scripts/telemetry.js",
|
|
63
|
+
"check:lockfile": "node scripts/check-lockfile.js",
|
|
64
|
+
"clean": "node scripts/clean.js",
|
|
65
|
+
"pre-commit": "node scripts/pre-commit.js"
|
|
66
|
+
},
|
|
67
|
+
"overrides": {
|
|
68
|
+
"ink": "npm:@jrichman/ink@6.4.11",
|
|
69
|
+
"wrap-ansi": "9.0.2",
|
|
70
|
+
"cliui": {
|
|
71
|
+
"wrap-ansi": "7.0.0"
|
|
72
|
+
},
|
|
73
|
+
"glob": "^12.0.0",
|
|
74
|
+
"node-domexception": "npm:empty@^0.10.1",
|
|
75
|
+
"prebuild-install": "npm:nop@1.0.0",
|
|
76
|
+
"cross-spawn": "^7.0.6",
|
|
77
|
+
"minimatch": "^10.2.2"
|
|
78
|
+
},
|
|
79
|
+
"bin": {
|
|
80
|
+
"mashadev": "bundle/masha.js"
|
|
81
|
+
},
|
|
82
|
+
"files": [
|
|
83
|
+
"bundle/",
|
|
84
|
+
"README.md",
|
|
85
|
+
"LICENSE"
|
|
86
|
+
],
|
|
87
|
+
"devDependencies": {
|
|
88
|
+
"@agentclientprotocol/sdk": "^0.12.0",
|
|
89
|
+
"@octokit/rest": "^22.0.0",
|
|
90
|
+
"@types/marked": "^5.0.2",
|
|
91
|
+
"@types/mime-types": "^3.0.1",
|
|
92
|
+
"@types/minimatch": "^5.1.2",
|
|
93
|
+
"@types/mock-fs": "^4.13.4",
|
|
94
|
+
"@types/prompts": "^2.4.9",
|
|
95
|
+
"@types/proper-lockfile": "^4.1.4",
|
|
96
|
+
"@types/react": "^19.2.0",
|
|
97
|
+
"@types/react-dom": "^19.2.0",
|
|
98
|
+
"@types/shell-quote": "^1.7.5",
|
|
99
|
+
"@types/uuid": "^10.0.0",
|
|
100
|
+
"@types/ws": "^8.18.1",
|
|
101
|
+
"@vitest/coverage-v8": "^3.1.1",
|
|
102
|
+
"@vitest/eslint-plugin": "^1.3.4",
|
|
103
|
+
"cross-env": "^7.0.3",
|
|
104
|
+
"depcheck": "^1.4.7",
|
|
105
|
+
"domexception": "^4.0.0",
|
|
106
|
+
"esbuild": "^0.25.0",
|
|
107
|
+
"esbuild-plugin-wasm": "^1.1.0",
|
|
108
|
+
"eslint": "^9.24.0",
|
|
109
|
+
"eslint-config-prettier": "^10.1.2",
|
|
110
|
+
"eslint-plugin-headers": "^1.3.3",
|
|
111
|
+
"eslint-plugin-import": "^2.32.0",
|
|
112
|
+
"eslint-plugin-react": "^7.37.5",
|
|
113
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
114
|
+
"glob": "^12.0.0",
|
|
115
|
+
"globals": "^16.0.0",
|
|
116
|
+
"google-artifactregistry-auth": "^3.4.0",
|
|
117
|
+
"husky": "^9.1.7",
|
|
118
|
+
"json": "^11.0.0",
|
|
119
|
+
"lint-staged": "^16.1.6",
|
|
120
|
+
"memfs": "^4.42.0",
|
|
121
|
+
"mnemonist": "^0.40.3",
|
|
122
|
+
"mock-fs": "^5.5.0",
|
|
123
|
+
"msw": "^2.10.4",
|
|
124
|
+
"npm-run-all": "^4.1.5",
|
|
125
|
+
"prettier": "^3.5.3",
|
|
126
|
+
"react-devtools-core": "^6.1.2",
|
|
127
|
+
"react-dom": "^19.2.0",
|
|
128
|
+
"semver": "^7.7.2",
|
|
129
|
+
"strip-ansi": "^7.1.2",
|
|
130
|
+
"ts-prune": "^0.10.3",
|
|
131
|
+
"tsx": "^4.20.3",
|
|
132
|
+
"typescript-eslint": "^8.30.1",
|
|
133
|
+
"vitest": "^3.2.4",
|
|
134
|
+
"yargs": "^17.7.2"
|
|
135
|
+
},
|
|
136
|
+
"dependencies": {
|
|
137
|
+
"ajv": "^8.18.0",
|
|
138
|
+
"fdir": "^6.5.0",
|
|
139
|
+
"ink": "npm:@jrichman/ink@6.4.11",
|
|
140
|
+
"latest-version": "^9.0.0",
|
|
141
|
+
"mime": "^4.1.0",
|
|
142
|
+
"node-fetch-native": "^1.6.7",
|
|
143
|
+
"proper-lockfile": "^4.1.2",
|
|
144
|
+
"punycode": "^2.3.1",
|
|
145
|
+
"simple-git": "^3.28.0"
|
|
146
|
+
},
|
|
147
|
+
"optionalDependencies": {
|
|
148
|
+
"@lydell/node-pty": "1.1.0",
|
|
149
|
+
"@lydell/node-pty-darwin-arm64": "1.1.0",
|
|
150
|
+
"@lydell/node-pty-darwin-x64": "1.1.0",
|
|
151
|
+
"@lydell/node-pty-linux-x64": "1.1.0",
|
|
152
|
+
"@lydell/node-pty-win32-arm64": "1.1.0",
|
|
153
|
+
"@lydell/node-pty-win32-x64": "1.1.0",
|
|
154
|
+
"keytar": "^7.9.0",
|
|
155
|
+
"node-pty": "^1.0.0"
|
|
156
|
+
},
|
|
157
|
+
"lint-staged": {
|
|
158
|
+
"*.{js,jsx,ts,tsx}": [
|
|
159
|
+
"prettier --write",
|
|
160
|
+
"eslint --fix --max-warnings 0 --no-warn-ignored"
|
|
161
|
+
],
|
|
162
|
+
"eslint.config.js": [
|
|
163
|
+
"prettier --write"
|
|
164
|
+
],
|
|
165
|
+
"*.{json,md}": [
|
|
166
|
+
"prettier --write"
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
}
|