
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
@copass/datasource-olane
Advanced tools
Olane OS data source driver for Copass — start/stop/status of local Olane OS instances, address book, worlds, and identity management
Olane OS data source driver for Copass.
Provides the library primitives that manage local Olane OS instances:
oTokenManager constructionPeer-depends on @copass/core. Callers are expected to own the UX layer
(prompts, spinners, output formatting) and feed this package through plain
function calls.
pnpm add @copass/datasource-olane @copass/core
import { createOlaneTokenManager } from '@copass/datasource-olane';
const tm = createOlaneTokenManager({
accessToken: session.access_token,
refreshToken: session.refresh_token,
tokenEndpoint: `https://${projectId}.supabase.co/auth/v1/token?grant_type=refresh_token`,
headers: { apikey: SUPABASE_ANON_KEY },
expiresAt: session.expires_at,
});
import {
startLocalOsInstance,
stopLocalOsInstance,
statusLocalOsInstance,
listLocalOsInstances,
} from '@copass/datasource-olane';
const result = await startLocalOsInstance({
instanceName: 'my-copass-id',
port: 4999,
cliEntry: path.resolve('./dist/index.js'), // entry that handles `os _run`
});
const status = await statusLocalOsInstance('my-copass-id');
const stopped = await stopLocalOsInstance('my-copass-id');
const all = await listLocalOsInstances();
import {
createLocalWorld,
listLocalWorlds,
hasAnyLocalWorld,
registerWorldAddress,
listWorldFilepaths,
} from '@copass/datasource-olane';
if (!(await hasAnyLocalWorld('my-copass-id'))) {
await createLocalWorld('my-copass-id', { name: 'my-world' });
}
await registerWorldAddress('my-copass-id', 'my-world', process.cwd());
import {
createAddressForInstance,
loadAddressBookEntries,
addToAddressBook,
removeFromAddressBook,
} from '@copass/datasource-olane';
const { address, worlds, duplicateInWorld } = await createAddressForInstance(
'my-copass-id',
'my-service',
);
// → caller decides via its own UX whether to register in a world
import { getInstanceCopassId, setInstanceCopassId } from '@copass/datasource-olane';
await setInstanceCopassId('my-copass-id', 'my-copass-id');
const current = await getInstanceCopassId('my-copass-id');
This package is strictly the data plane for Olane OS. UX concerns (prompts,
spinners, chalk, process.exit codes) live in the consumer — the official
consumer is @olane/o-cli, which provides the olane os … command tree.
MIT
FAQs
Olane OS data source driver for Copass — start/stop/status of local Olane OS instances, address book, worlds, and identity management
We found that @copass/datasource-olane demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.