Development
src
Automate Git workflows, analyze codebases, and refactor at scale. Search across repos, detect patterns, and generate code with AI-powered tooling at 300+ edge locations.
src
SRC.do
Overview
The src primitive is part of the .do platform's semantic API system. It follows the $.Subject.verb.Object pattern for consistent, intuitive interactions across SDK, CLI, API, and MCP interfaces.
Semantic Pattern
All src operations follow the semantic $.Src.verb.Object pattern:
import { $, src } from 'sdk.do'
// Create resources
await $.Src.create.Resource({ /* config */ })
// Query data
await $.Src.get.Data({ /* params */ })
// Update state
await $.Src.update.Status({ /* changes */ })Quick Start
import { src } from 'sdk.do'
// Initialize and use the primitive
const result = await src.operation({
// configuration parameters
})Access Methods
The src primitive is accessible through multiple interfaces:
SDK
TypeScript/JavaScript library for programmatic access:
import { src } from 'sdk.do'
await src.method({ /* ... */ })CLI
Command-line interface for terminal operations:
do src <command> [options]API
REST/RPC endpoints for HTTP integration:
curl -X POST https://api.do/v1/src \
-H "Content-Type: application/json" \
-d '{"key":"value"}'MCP
Model Context Protocol for AI assistant integration:
Use src primitives with AI assistants via MCPRelated Primitives
See other primitives in the development category.