modjules 0.1.1

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.
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The internal engine for jules.all()
3
+ *
4
+ * @param items - Data to process
5
+ * @param mapper - Async function (item) => result
6
+ * @param options - Configuration options
7
+ */
8
+ export declare function pMap<T, R>(items: T[], mapper: (item: T) => Promise<R>, options?: {
9
+ concurrency?: number;
10
+ stopOnError?: boolean;
11
+ delayMs?: number;
12
+ }): Promise<R[]>;
package/package.json ADDED
@@ -0,0 +1,81 @@
1
+ {
2
+ "name": "modjules",
3
+ "version": "0.1.1",
4
+ "workspaces": [
5
+ ".",
6
+ "examples/*"
7
+ ],
8
+ "description": "The agent-ready SDK for Jules.",
9
+ "repository": "davideast/modjules",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.es.js"
15
+ },
16
+ "./browser": {
17
+ "types": "./dist/browser.d.ts",
18
+ "import": "./dist/browser.es.js"
19
+ },
20
+ "./package.json": "./package.json"
21
+ },
22
+ "files": [
23
+ "dist/",
24
+ "README.md"
25
+ ],
26
+ "scripts": {
27
+ "build": "vite build",
28
+ "format": "prettier --write .",
29
+ "format:check": "prettier --check .",
30
+ "test": "vitest --exclude tests/storage/browser.test.ts",
31
+ "test:browser": "vitest run -c vitest.browser.config.ts",
32
+ "test:integration": "vitest run -c vitest.integration.config.ts",
33
+ "test:smoke": "tsx scripts/smoke-test.ts",
34
+ "type-check": "tsc --project tsconfig.test.json",
35
+ "verify": "tsx scripts/verify.ts",
36
+ "prepare": "husky",
37
+ "changeset": "changeset",
38
+ "release": "changeset publish"
39
+ },
40
+ "keywords": [
41
+ "jules",
42
+ "ai",
43
+ "agent",
44
+ "sdk",
45
+ "developer-tools"
46
+ ],
47
+ "author": "",
48
+ "license": "ISC",
49
+ "lint-staged": {
50
+ "**/*": "prettier --write ."
51
+ },
52
+ "prettier": {
53
+ "semi": true,
54
+ "trailingComma": "all",
55
+ "singleQuote": true,
56
+ "printWidth": 80,
57
+ "tabWidth": 2
58
+ },
59
+ "devDependencies": {
60
+ "@changesets/changelog-github": "^0.5.1",
61
+ "@changesets/cli": "^2.29.7",
62
+ "@google/jules": "^0.1.37",
63
+ "@inquirer/prompts": "^7.9.0",
64
+ "@octokit/rest": "^22.0.1",
65
+ "@types/node": "^24.9.1",
66
+ "fake-indexeddb": "^6.2.5",
67
+ "husky": "^9.1.7",
68
+ "jsdom": "^27.1.0",
69
+ "lint-staged": "^16.2.6",
70
+ "msw": "^2.11.6",
71
+ "prettier": "^3.6.2",
72
+ "tsx": "^4.20.6",
73
+ "typescript": "^5.9.3",
74
+ "vite": "^7.2.2",
75
+ "vite-plugin-dts": "^4.5.4",
76
+ "vitest": "^3.2.4"
77
+ },
78
+ "dependencies": {
79
+ "idb": "^8.0.3"
80
+ }
81
+ }