osuite 2.10.0 → 2.10.2

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/credentials.js ADDED
@@ -0,0 +1,234 @@
1
+ import fs from 'node:fs';
2
+ import path from 'node:path';
3
+ import crypto from 'node:crypto';
4
+ import { spawnSync } from 'node:child_process';
5
+
6
+ export const CREDENTIAL_PATHS = ['.codex/.env', '.claude/.env', '.cursor/.env', '.osuite/.env'];
7
+ const POSIX = process.platform !== 'win32';
8
+ const NOFOLLOW = fs.constants.O_NOFOLLOW || 0;
9
+
10
+ function metadata(file) {
11
+ try { return fs.lstatSync(file); } catch (error) {
12
+ if (error.code === 'ENOENT') return null;
13
+ throw error;
14
+ }
15
+ }
16
+
17
+ function sameFile(a, b) {
18
+ return !a && !b || Boolean(a && b && a.dev === b.dev && a.ino === b.ino && a.size === b.size && a.mtimeMs === b.mtimeMs && a.ctimeMs === b.ctimeMs);
19
+ }
20
+
21
+ function owned(stat) {
22
+ return !POSIX || typeof process.getuid !== 'function' || stat.uid === process.getuid();
23
+ }
24
+
25
+ function safePath(projectRoot, relativePath, { create = false } = {}) {
26
+ const root = fs.realpathSync(projectRoot);
27
+ const absolute = path.resolve(root, relativePath);
28
+ const relative = path.relative(root, absolute);
29
+ if (!relative || relative.startsWith(`..${path.sep}`) || relative === '..' || path.isAbsolute(relative)) {
30
+ throw new Error('Credential path must stay inside the project.');
31
+ }
32
+ let directory = root;
33
+ const parts = relative.split(path.sep).slice(0, -1);
34
+ for (const part of ['', ...parts]) {
35
+ if (part) directory = path.join(directory, part);
36
+ let stat = metadata(directory);
37
+ if (!stat && create) {
38
+ fs.mkdirSync(directory, { mode: 0o700 });
39
+ if (POSIX) fs.chmodSync(directory, 0o700);
40
+ syncDirectory(path.dirname(directory));
41
+ stat = metadata(directory);
42
+ }
43
+ if (!stat) continue;
44
+ if (stat.isSymbolicLink()) throw new Error('Refusing a symlink in the credential path.');
45
+ if (!stat.isDirectory()) throw new Error('Credential parent must be a directory.');
46
+ if (!owned(stat) || POSIX && (stat.mode & 0o022)) throw new Error('Unsafe credential directory ownership or write permissions.');
47
+ }
48
+ const stat = metadata(absolute);
49
+ if (stat?.isSymbolicLink()) throw new Error('Refusing a symlinked credential file.');
50
+ if (stat && (!stat.isFile() || stat.nlink !== 1 || !owned(stat))) {
51
+ throw new Error('Unsafe credential file type, links, or ownership.');
52
+ }
53
+ return { root, absolute, relativePath: relative.split(path.sep).join('/'), stat };
54
+ }
55
+
56
+ function runGit(cwd, args) {
57
+ // Inherited GIT_DIR/INDEX_FILE must not hide a tracked project credential.
58
+ const env = Object.fromEntries(Object.entries(process.env).filter(([key]) => !key.startsWith('GIT_')));
59
+ // Metadata inspection must not execute repository-configured fsmonitor commands.
60
+ return spawnSync('git', ['-c', 'core.fsmonitor=false', '-C', cwd, ...args], {
61
+ encoding: 'utf8', env, stdio: ['ignore', 'pipe', 'pipe'],
62
+ });
63
+ }
64
+
65
+ function repositoryRoots(root, absolute) {
66
+ const roots = new Set();
67
+ let current = root;
68
+ for (const part of ['', ...path.relative(root, path.dirname(absolute)).split(path.sep).filter(Boolean)]) {
69
+ if (part) current = path.join(current, part);
70
+ if (!metadata(current)) continue;
71
+ const result = runGit(current, ['rev-parse', '--show-toplevel']);
72
+ if (result.error) throw new Error('Git is required to check whether the credential path is tracked.');
73
+ if (result.status === 0) roots.add(result.stdout.trim());
74
+ else if (!result.stderr.includes('not a git repository')) throw new Error('Unable to verify Git credential protection.');
75
+ }
76
+ return [...roots];
77
+ }
78
+
79
+ function isTracked(root, absolute) {
80
+ return repositoryRoots(root, absolute).some((repository) => {
81
+ // A tracked .ENV aliases .env on common macOS/Windows filesystems.
82
+ const result = runGit(repository, ['ls-files', '--error-unmatch', '--', `:(icase,literal)${path.relative(repository, absolute)}`]);
83
+ if (result.status !== 0 && result.status !== 1) throw new Error('Unable to inspect the Git index for credentials.');
84
+ return result.status === 0;
85
+ });
86
+ }
87
+
88
+ function assertUntracked(target) {
89
+ if (isTracked(target.root, target.absolute)) throw new Error('Refusing to write credentials to a tracked path. Remove it from Git and rotate any exposed credentials first.');
90
+ }
91
+
92
+ function syncDirectory(directory) {
93
+ if (!POSIX) return;
94
+ const fd = fs.openSync(directory, fs.constants.O_RDONLY | (fs.constants.O_DIRECTORY || 0) | NOFOLLOW);
95
+ try { fs.fsyncSync(fd); } finally { fs.closeSync(fd); }
96
+ }
97
+
98
+ function atomicWrite(target, body, mode, { credential = false } = {}) {
99
+ const temporary = `${target.absolute}.osuite-tmp-${crypto.randomBytes(12).toString('hex')}`;
100
+ let fd;
101
+ try {
102
+ fd = fs.openSync(temporary, fs.constants.O_WRONLY | fs.constants.O_CREAT | fs.constants.O_EXCL | NOFOLLOW, mode);
103
+ if (POSIX) fs.fchmodSync(fd, mode);
104
+ fs.writeFileSync(fd, body, 'utf8');
105
+ fs.fsyncSync(fd);
106
+ fs.closeSync(fd);
107
+ fd = undefined;
108
+ const latest = safePath(target.root, target.relativePath);
109
+ if (!sameFile(target.stat, latest.stat)) throw new Error('Credential destination changed during the write; refusing to replace it.');
110
+ if (credential) assertUntracked(latest);
111
+ fs.renameSync(temporary, target.absolute);
112
+ syncDirectory(path.dirname(target.absolute));
113
+ } finally {
114
+ if (fd !== undefined) fs.closeSync(fd);
115
+ try { fs.unlinkSync(temporary); } catch (error) { if (error.code !== 'ENOENT') throw error; }
116
+ }
117
+ }
118
+
119
+ function protectIgnore(target) {
120
+ const directory = path.dirname(target.absolute);
121
+ const ignorePath = path.join(path.dirname(target.relativePath), '.gitignore');
122
+ const ignore = safePath(target.root, ignorePath);
123
+ const body = ignore.stat ? fs.readFileSync(ignore.absolute, 'utf8') : '';
124
+ const name = path.basename(target.absolute);
125
+ // A rule in the credential's own directory works in monorepos and nested repos.
126
+ const rules = [`/${name}`, `/${name}.osuite-tmp-*`];
127
+ const missing = rules.filter((rule) => !body.split(/\r?\n/).includes(rule));
128
+ if (missing.length) {
129
+ atomicWrite(ignore, `${body}${body && !body.endsWith('\n') ? '\n' : ''}${missing.join('\n')}\n`, ignore.stat ? ignore.stat.mode & 0o777 : 0o644);
130
+ }
131
+ if (repositoryRoots(target.root, target.absolute).length) {
132
+ const result = runGit(directory, ['check-ignore', '--no-index', '--', target.absolute]);
133
+ if (result.status !== 0) throw new Error('Credential path is not ignored by Git; check conflicting ignore rules.');
134
+ }
135
+ }
136
+
137
+ export function inspectCredentialFile(projectRoot, relativePath) {
138
+ const result = { relativePath, exists: false, safe: false, problems: [], mode: null };
139
+ try {
140
+ const target = safePath(projectRoot, relativePath);
141
+ result.exists = Boolean(target.stat);
142
+ if (target.stat) {
143
+ result.mode = POSIX ? `0${(target.stat.mode & 0o777).toString(8).padStart(3, '0')}` : null;
144
+ if (POSIX && (target.stat.mode & 0o777) !== 0o600) result.problems.push(`unsafe mode ${result.mode}; expected 0600`);
145
+ }
146
+ if (isTracked(target.root, target.absolute)) result.problems.push('tracked by Git');
147
+ if (target.stat) {
148
+ const roots = repositoryRoots(target.root, target.absolute);
149
+ if (roots.length && runGit(path.dirname(target.absolute), ['check-ignore', '--no-index', '--', target.absolute]).status !== 0) result.problems.push('not ignored by Git');
150
+ }
151
+ result.safe = result.problems.length === 0;
152
+ } catch (error) {
153
+ result.exists = true;
154
+ result.problems.push(error.message);
155
+ }
156
+ return result;
157
+ }
158
+
159
+ export function prepareCredentialFile(projectRoot, relativePath) {
160
+ let target = safePath(projectRoot, relativePath);
161
+ assertUntracked(target);
162
+ target = safePath(projectRoot, relativePath, { create: true });
163
+ protectIgnore(target);
164
+ return target;
165
+ }
166
+
167
+ export function writeCredentialFile(projectRoot, relativePath, body) {
168
+ const target = prepareCredentialFile(projectRoot, relativePath);
169
+ atomicWrite(target, String(body), 0o600, { credential: true });
170
+ return { relativePath: target.relativePath, status: 'written' };
171
+ }
172
+
173
+ export function readCredentialFile(projectRoot, relativePath) {
174
+ const inspection = inspectCredentialFile(projectRoot, relativePath);
175
+ if (!inspection.exists) return null;
176
+ if (!inspection.safe) throw new Error(`Unsafe credential file: ${relativePath} (${inspection.problems.join('; ')}).`);
177
+ const target = safePath(projectRoot, relativePath);
178
+ const fd = fs.openSync(target.absolute, fs.constants.O_RDONLY | NOFOLLOW);
179
+ try {
180
+ if (!sameFile(target.stat, fs.fstatSync(fd))) throw new Error('Credential changed before reading.');
181
+ return fs.readFileSync(fd, 'utf8');
182
+ } finally { fs.closeSync(fd); }
183
+ }
184
+
185
+ export function removeCredentialFile(projectRoot, relativePath) {
186
+ const target = safePath(projectRoot, relativePath);
187
+ assertUntracked(target);
188
+ if (!target.stat) return;
189
+ fs.unlinkSync(target.absolute);
190
+ syncDirectory(path.dirname(target.absolute));
191
+ }
192
+
193
+ export function acquireCredentialLock(projectRoot, relativePath) {
194
+ prepareCredentialFile(projectRoot, relativePath);
195
+ const lockPath = `${relativePath}.connect.lock`;
196
+ let target = prepareCredentialFile(projectRoot, lockPath);
197
+ if (target.stat) {
198
+ let lock;
199
+ try { lock = JSON.parse(readCredentialFile(projectRoot, lockPath)); } catch {
200
+ throw new Error('Unsafe or unreadable credential lock; inspect its metadata before reconnecting.');
201
+ }
202
+ if (!Number.isSafeInteger(lock?.pid) || lock.pid < 1) throw new Error('Invalid credential lock.');
203
+ let running = true;
204
+ try { process.kill(lock.pid, 0); } catch (error) { if (error.code === 'ESRCH') running = false; }
205
+ if (running) throw new Error('Another connect process owns this credential file. Wait for it to finish.');
206
+ const latest = safePath(projectRoot, lockPath);
207
+ if (!sameFile(target.stat, latest.stat)) throw new Error('Credential lock changed during recovery.');
208
+ removeCredentialFile(projectRoot, lockPath);
209
+ target = prepareCredentialFile(projectRoot, lockPath);
210
+ }
211
+ let fd;
212
+ let lockStat;
213
+ try {
214
+ fd = fs.openSync(target.absolute, fs.constants.O_WRONLY | fs.constants.O_CREAT | fs.constants.O_EXCL | NOFOLLOW, 0o600);
215
+ if (POSIX) fs.fchmodSync(fd, 0o600);
216
+ fs.writeFileSync(fd, `${JSON.stringify({ pid: process.pid })}\n`, 'utf8');
217
+ fs.fsyncSync(fd);
218
+ lockStat = fs.fstatSync(fd);
219
+ } catch (error) {
220
+ if (error.code === 'EEXIST') throw new Error('Another connect process owns this credential file.');
221
+ throw error;
222
+ } finally { if (fd !== undefined) fs.closeSync(fd); }
223
+ syncDirectory(path.dirname(target.absolute));
224
+ let released = false;
225
+ const release = () => {
226
+ if (released) return;
227
+ released = true;
228
+ process.removeListener('exit', release);
229
+ const latest = safePath(projectRoot, lockPath);
230
+ if (sameFile(lockStat, latest.stat)) removeCredentialFile(projectRoot, lockPath);
231
+ };
232
+ process.once('exit', release);
233
+ return release;
234
+ }
@@ -0,0 +1,113 @@
1
+ import crypto from 'node:crypto';
2
+ import fs from 'node:fs';
3
+ import path from 'node:path';
4
+ import { prepareCredentialFile, readCredentialFile, removeCredentialFile, writeCredentialFile } from './credentials.js';
5
+
6
+ const UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/;
7
+ const PREFIX = { codex: 'codex-runtime', claude: 'claude-code-runtime', cursor: 'cursor-runtime', mcp: 'mcp-runtime', sdk: 'sdk-runtime' };
8
+ export const SDK_ENV_PATH = '.osuite/.env';
9
+ export const MCP_ENV_PATH = '.osuite/mcp/.env';
10
+ export const MCP_MIGRATION_PATH = '.osuite/.env.migrate-mcp.json';
11
+ const BUNDLE_FILES = { env: '', identity: '.identity.json', journal: '.connect.json' };
12
+
13
+ export function parseInstallationIdentity(raw, runtime) {
14
+ if (raw === null) return null;
15
+ let identity;
16
+ try { identity = JSON.parse(raw); } catch { throw new Error('Invalid installation identity file; it was left unchanged.'); }
17
+ if (identity?.schema_version !== 'osuite.installation.v1' || identity.runtime !== runtime
18
+ || typeof identity.installation_id !== 'string' || !UUID.test(identity.installation_id)
19
+ || typeof identity.agent_id !== 'string' || !identity.agent_id.startsWith(`${PREFIX[runtime]}-`)
20
+ || !UUID.test(identity.agent_id.slice(PREFIX[runtime].length + 1))) {
21
+ throw new Error('Installation identity does not match this runtime; it was left unchanged.');
22
+ }
23
+ return identity;
24
+ }
25
+
26
+ export function readInstallationIdentity(projectRoot, envPath, runtime) {
27
+ if (!Object.hasOwn(PREFIX, runtime)) throw new Error('Unsupported installation runtime.');
28
+ return parseInstallationIdentity(readCredentialFile(projectRoot, `${envPath}.identity.json`), runtime);
29
+ }
30
+
31
+ // A project/runtime installation identifier is metadata, not a human identity or
32
+ // hardware attestation. Rotation still requires the current scoped credential.
33
+ export function getInstallationIdentity(projectRoot, envPath, runtime, { dryRun = false } = {}) {
34
+ if (!Object.hasOwn(PREFIX, runtime)) throw new Error('Unsupported installation runtime.');
35
+ const relativePath = `${envPath}.identity.json`;
36
+ // A preview must also work before Git is installed and must not inspect or
37
+ // repair private credential files. Its temporary IDs are never enrolled.
38
+ const existing = dryRun ? null : readInstallationIdentity(projectRoot, envPath, runtime);
39
+ if (existing) return existing;
40
+ const identity = { schema_version: 'osuite.installation.v1', runtime,
41
+ installation_id: crypto.randomUUID(), agent_id: `${PREFIX[runtime]}-${crypto.randomUUID()}` };
42
+ if (!dryRun) writeCredentialFile(projectRoot, relativePath, `${JSON.stringify(identity)}\n`);
43
+ return identity;
44
+ }
45
+
46
+ export function credentialDigest(raw) {
47
+ return raw === null ? null : crypto.createHash('sha256').update(raw).digest('hex');
48
+ }
49
+
50
+ export function readInstallationBundle(projectRoot, envPath) {
51
+ return Object.fromEntries(Object.entries(BUNDLE_FILES).map(([kind, suffix]) => [kind, readCredentialFile(projectRoot, `${envPath}${suffix}`)]));
52
+ }
53
+
54
+ export function readMcpMigration(projectRoot) {
55
+ const raw = readCredentialFile(projectRoot, MCP_MIGRATION_PATH);
56
+ const source = readInstallationBundle(projectRoot, SDK_ENV_PATH);
57
+ const destination = readInstallationBundle(projectRoot, MCP_ENV_PATH);
58
+ if (raw === null) return { manifest: null, source, destination, bundle: source };
59
+ let manifest;
60
+ try { manifest = JSON.parse(raw); } catch { throw new Error('Invalid MCP migration marker; files were left unchanged.'); }
61
+ if (manifest?.schema_version !== 'osuite.mcp-migration.v1' || !manifest.files
62
+ || Object.keys(manifest.files).sort().join(',') !== Object.keys(BUNDLE_FILES).sort().join(',')
63
+ || Object.values(manifest.files).some(value => value !== null && (typeof value !== 'string' || !/^[a-f0-9]{64}$/.test(value)))) {
64
+ throw new Error('Invalid MCP migration marker; files were left unchanged.');
65
+ }
66
+ const bundle = {};
67
+ for (const kind of Object.keys(BUNDLE_FILES)) {
68
+ const expected = manifest.files[kind];
69
+ const bodies = [source[kind], destination[kind]].filter(body => body !== null);
70
+ if (expected === null ? bodies.length !== 0 : bodies.length !== 1 || credentialDigest(bodies[0]) !== expected) {
71
+ throw new Error('MCP migration conflicts with changed, missing or duplicated files; nothing was overwritten.');
72
+ }
73
+ bundle[kind] = bodies[0] ?? null;
74
+ }
75
+ return { manifest, source, destination, bundle };
76
+ }
77
+
78
+ function syncDirectory(directory) {
79
+ if (process.platform === 'win32') return;
80
+ const fd = fs.openSync(directory, fs.constants.O_RDONLY | (fs.constants.O_DIRECTORY || 0) | (fs.constants.O_NOFOLLOW || 0));
81
+ try { fs.fsyncSync(fd); } finally { fs.closeSync(fd); }
82
+ }
83
+
84
+ // Explicit, local-only migration. The caller must hold BOTH credential locks and
85
+ // validate runtime/recovery scope first. A durable, secret-free marker blocks
86
+ // either CLI enrollment lane until every original file has moved, never copied
87
+ // or overwritten. Existing server identity and keys are not changed by the move.
88
+ export function migrateMcpInstallation(projectRoot, inspected) {
89
+ let current = readMcpMigration(projectRoot);
90
+ if (JSON.stringify(current) !== JSON.stringify(inspected)) throw new Error('MCP migration files changed during validation; retry after inspection.');
91
+ if (!current.manifest) {
92
+ if (Object.values(current.destination).some(body => body !== null)) throw new Error('MCP migration destination is already occupied; nothing was overwritten.');
93
+ for (const [kind, suffix] of Object.entries(BUNDLE_FILES)) {
94
+ if (current.source[kind] !== null) prepareCredentialFile(projectRoot, `${MCP_ENV_PATH}${suffix}`);
95
+ }
96
+ writeCredentialFile(projectRoot, MCP_MIGRATION_PATH, `${JSON.stringify({ schema_version: 'osuite.mcp-migration.v1',
97
+ files: Object.fromEntries(Object.entries(current.source).map(([kind, body]) => [kind, credentialDigest(body)])) })}\n`);
98
+ }
99
+ for (const [kind, suffix] of Object.entries(BUNDLE_FILES)) {
100
+ current = readMcpMigration(projectRoot);
101
+ if (current.source[kind] === null) continue;
102
+ const from = prepareCredentialFile(projectRoot, `${SDK_ENV_PATH}${suffix}`);
103
+ const to = prepareCredentialFile(projectRoot, `${MCP_ENV_PATH}${suffix}`);
104
+ if (to.stat || credentialDigest(readCredentialFile(projectRoot, `${SDK_ENV_PATH}${suffix}`)) !== current.manifest.files[kind]) {
105
+ throw new Error('MCP migration destination or source changed; resume only after inspection.');
106
+ }
107
+ fs.renameSync(from.absolute, to.absolute);
108
+ syncDirectory(path.dirname(to.absolute));
109
+ syncDirectory(path.dirname(from.absolute));
110
+ }
111
+ readMcpMigration(projectRoot);
112
+ removeCredentialFile(projectRoot, MCP_MIGRATION_PATH);
113
+ }
package/osuite.js CHANGED
@@ -17,16 +17,20 @@ class GuardBlockedError extends Error {
17
17
  }
18
18
 
19
19
  class OSuite {
20
- constructor({ baseUrl, apiKey, agentId, agentKeyId = null, provenanceVersion = 'osuite-prov-v1' } = {}) {
20
+ constructor({ baseUrl, apiKey, agentId, agentKeyId = null, provenanceVersion = 'osuite-prov-v1', requestTimeoutMs = 30000 } = {}) {
21
21
  if (!baseUrl) throw new Error('baseUrl is required');
22
22
  if (!apiKey) throw new Error('apiKey is required');
23
23
  if (!agentId) throw new Error('agentId is required');
24
+ if (!Number.isSafeInteger(requestTimeoutMs) || requestTimeoutMs <= 0 || requestTimeoutMs > 900000) {
25
+ throw new Error('requestTimeoutMs must be a positive integer no greater than 900000');
26
+ }
24
27
 
25
28
  this.baseUrl = String(baseUrl).replace(/\/$/, '');
26
29
  this.apiKey = apiKey;
27
30
  this.agentId = agentId;
28
31
  this.agentKeyId = agentKeyId;
29
32
  this.provenanceVersion = provenanceVersion;
33
+ this.requestTimeoutMs = requestTimeoutMs;
30
34
  }
31
35
 
32
36
  _withProvenance(payload = {}) {
@@ -54,16 +58,33 @@ class OSuite {
54
58
  if (qs) url += `?${qs}`;
55
59
  }
56
60
 
57
- const response = await fetch(url, {
58
- method,
59
- headers: {
60
- 'content-type': 'application/json',
61
- 'x-api-key': this.apiKey,
62
- },
63
- body: body ? JSON.stringify(body) : undefined,
64
- });
65
-
66
- const text = await response.text();
61
+ const controller = new AbortController();
62
+ const deadline = setTimeout(() => controller.abort(), this.requestTimeoutMs);
63
+ let response;
64
+ let text;
65
+ try {
66
+ response = await fetch(url, {
67
+ method,
68
+ headers: {
69
+ 'content-type': 'application/json',
70
+ 'x-api-key': this.apiKey,
71
+ },
72
+ body: body ? JSON.stringify(body) : undefined,
73
+ redirect: 'error',
74
+ signal: controller.signal,
75
+ });
76
+ // Keep the deadline active until the response body is read, not just its headers.
77
+ text = await response.text();
78
+ } catch (cause) {
79
+ if (controller.signal.aborted) {
80
+ const error = new Error('Request timed out; the remote outcome may be unknown. Inspect the existing action before retrying.');
81
+ error.code = 'OSUITE_REQUEST_TIMEOUT';
82
+ throw error;
83
+ }
84
+ throw cause;
85
+ } finally {
86
+ clearTimeout(deadline);
87
+ }
67
88
  let data = {};
68
89
  if (text) {
69
90
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osuite",
3
- "version": "2.10.0",
3
+ "version": "2.10.2",
4
4
  "description": "OSuite governed action SDK for AI agents. Approve, replay, prove, and verify runtime decisions.",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -23,6 +23,12 @@
23
23
  },
24
24
  "files": [
25
25
  "cli.js",
26
+ "credentials.js",
27
+ "installationIdentity.js",
28
+ "activationMetrics.js",
29
+ "tryFlow.js",
30
+ "tryContract.js",
31
+ "runtime/",
26
32
  "projectHooks.js",
27
33
  "reviewSurface.js",
28
34
  "osuite.js",
@@ -40,12 +46,12 @@
40
46
  ],
41
47
  "repository": {
42
48
  "type": "git",
43
- "url": "git+https://github.com/OndCo/osuite.git",
49
+ "url": "git+https://github.com/OndCo/osuite-sdk.git",
44
50
  "directory": "sdk"
45
51
  },
46
52
  "homepage": "https://ond.cc",
47
53
  "bugs": {
48
- "url": "https://github.com/OndCo/osuite/issues"
54
+ "url": "https://github.com/OndCo/osuite-sdk/issues"
49
55
  },
50
56
  "author": "OSuite",
51
57
  "license": "MIT",