jules-orchestrator-kit 0.2.8 â 0.2.9
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/JULES_RULES_TEMPLATE.md
CHANGED
|
@@ -36,12 +36,12 @@ Dispatch tasks to Jules when ALL of the following apply:
|
|
|
36
36
|
|
|
37
37
|
Jules automatically infers test and build verification commands via `scripts/command-resolver.mjs`:
|
|
38
38
|
- `.agent/jules.yml` -> Custom user commands (`test_cmd`, `build_cmd`)
|
|
39
|
-
- `package.json` -> `npm test` (or `npm run lint && npm test`
|
|
40
|
-
- `Cargo.toml` -> `cargo test --workspace
|
|
41
|
-
- `go.mod` -> `go test ./...
|
|
42
|
-
- `pyproject.toml` -> `pytest`
|
|
43
|
-
- `pom.xml` -> `mvn test`
|
|
44
|
-
- `build.gradle` ->
|
|
39
|
+
- `package.json` -> `testCmd: "npm test"` (or `"npm run lint && npm test"`), `buildCmd: "npm run build"`
|
|
40
|
+
- `Cargo.toml` -> `testCmd: "cargo test --workspace"`, `buildCmd: "cargo build"`
|
|
41
|
+
- `go.mod` -> `testCmd: "go test ./..."`, `buildCmd: "go build ./..."`
|
|
42
|
+
- `pyproject.toml` -> `testCmd: "pytest"`, `buildCmd: ""`
|
|
43
|
+
- `pom.xml` -> `testCmd: "mvn test"`, `buildCmd: "mvn compile"`
|
|
44
|
+
- `build.gradle` -> `testCmd: "./gradlew test"`, `buildCmd: "./gradlew assemble"`
|
|
45
45
|
- Workspace graphs (`turbo.json`, `pnpm-workspace.yaml`, `nx.json`) -> targeted affected package filters
|
|
46
46
|
|
|
47
47
|
---
|
package/README.md
CHANGED
|
@@ -151,28 +151,29 @@ allow_paths: []
|
|
|
151
151
|
|
|
152
152
|
> đĄī¸ **Zero-Trust Security Model**: `allow_paths` and `forbidden_paths` rules are read **strictly from the target base branch** (`origin/main`), never from untrusted PR branches. Even if an AI agent hallucinates and tries to modify its own security rules in a PR branch, the Orchestrator enforces the immutable rules defined on `main`.
|
|
153
153
|
> âšī¸ Setting `build_cmd: ""` explicitly skips the build verification step (useful for pure test suites or scripts). Note that `.agent/jules.yml` uses a zero-dependency parser that supports flow (`[...]`) and block (`- item`) list subsets.
|
|
154
|
+
> đĻ `.github/` is intentionally included in `package.json`'s `files` array so that `npx jules-init` can automatically scaffold `.github/workflows/jules-audit.yml` into target repositories.
|
|
154
155
|
|
|
155
156
|
---
|
|
156
157
|
|
|
157
158
|
<details>
|
|
158
159
|
<summary><b>đ ī¸ Supported Language Manifests & Workspace Graphs (15+ Tech Stacks)</b></summary>
|
|
159
160
|
|
|
160
|
-
| Stack / Ecosystem | Manifest / Workspace File |
|
|
161
|
-
|
|
162
|
-
| **Turborepo** | `turbo.json` | `npx turbo run test --filter=<pkg>...` |
|
|
163
|
-
| **pnpm Workspace** | `pnpm-workspace.yaml` | `pnpm --filter=...<pkg> test` |
|
|
164
|
-
| **Nx Workspace** | `nx.json` | `npx nx run-many -t test -p <pkg> --with-deps` |
|
|
165
|
-
| **Bun** | `bunfig.toml` / `bun.lockb` | `bun test
|
|
166
|
-
| **Deno** | `deno.json` / `deno.jsonc` | `deno test
|
|
167
|
-
| **JavaScript / TypeScript** | `package.json` | `npm run lint && npm test`
|
|
168
|
-
| **Rust** | `Cargo.toml` | `cargo test
|
|
169
|
-
| **Go** | `go.mod` | `go test
|
|
170
|
-
| **Python** | `pyproject.toml` / `requirements.txt` | `pytest` |
|
|
171
|
-
| **Elixir** | `mix.exs` | `mix test
|
|
172
|
-
| **Ruby** | `Gemfile` | `bundle exec rake test` |
|
|
173
|
-
| **Swift** | `Package.swift` | `swift test
|
|
174
|
-
| **Java (Maven/Gradle)** | `pom.xml` / `build.gradle` | `mvn test` / `./gradlew test` |
|
|
175
|
-
| **C / C++** | `Makefile` | `make test
|
|
161
|
+
| Stack / Ecosystem | Manifest / Workspace File | Test Command (`testCmd`) | Build Command (`buildCmd`) |
|
|
162
|
+
|---|---|---|---|
|
|
163
|
+
| **Turborepo** | `turbo.json` | `npx turbo run test --filter=<pkg>...` | `npx turbo run build --filter=<pkg>...` |
|
|
164
|
+
| **pnpm Workspace** | `pnpm-workspace.yaml` | `pnpm --filter=...<pkg> test` | `pnpm --filter=...<pkg> build` |
|
|
165
|
+
| **Nx Workspace** | `nx.json` | `npx nx run-many -t test -p <pkg> --with-deps` | `npx nx run-many -t build -p <pkg> --with-deps` |
|
|
166
|
+
| **Bun** | `bunfig.toml` / `bun.lockb` | `bun test` | `bun run build` |
|
|
167
|
+
| **Deno** | `deno.json` / `deno.jsonc` | `deno test` | `deno task build` |
|
|
168
|
+
| **JavaScript / TypeScript** | `package.json` | `npm run lint && npm test` | `npm run build` |
|
|
169
|
+
| **Rust** | `Cargo.toml` | `cargo test --workspace` | `cargo build` |
|
|
170
|
+
| **Go** | `go.mod` | `go test ./...` | `go build ./...` |
|
|
171
|
+
| **Python** | `pyproject.toml` / `requirements.txt` | `pytest` | *(none)* |
|
|
172
|
+
| **Elixir** | `mix.exs` | `mix test` | `mix compile` |
|
|
173
|
+
| **Ruby** | `Gemfile` | `bundle exec rake test` | *(none)* |
|
|
174
|
+
| **Swift** | `Package.swift` | `swift test` | `swift build` |
|
|
175
|
+
| **Java (Maven/Gradle)** | `pom.xml` / `build.gradle` | `mvn test` / `./gradlew test` | `mvn compile` / `./gradlew assemble` |
|
|
176
|
+
| **C / C++** | `Makefile` | `make test` | `make build` |
|
|
176
177
|
|
|
177
178
|
</details>
|
|
178
179
|
|
package/package.json
CHANGED
|
@@ -210,7 +210,9 @@ function cleanupTmp() {
|
|
|
210
210
|
if (fs.existsSync(tmpDir)) {
|
|
211
211
|
fs.rmSync(tmpDir, { recursive: true, force: true });
|
|
212
212
|
}
|
|
213
|
-
} catch (
|
|
213
|
+
} catch (err) {
|
|
214
|
+
console.warn(`â ī¸ Failed to remove temporary payload directory at ${tmpDir}:`, err.message);
|
|
215
|
+
}
|
|
214
216
|
}
|
|
215
217
|
|
|
216
218
|
async function executeDispatch() {
|