Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lap-Platform/LAP
/ functions
Functions
1,430 in github.com/Lap-Platform/LAP
⨍
Functions
1,430
◇
Types & classes
210
↳
Endpoints
1
↓ 2 callers
Function
benchmark_single
Benchmark a single spec's skill output.
benchmarks/benchmark_skill.py:24
↓ 2 callers
Function
buildDescription
(spec: LAPSpec)
sdks/typescript/src/skill.ts:267
↓ 2 callers
Function
clearCredentials
()
sdks/typescript/src/auth.ts:97
↓ 2 callers
Function
cmd_pin
Pin a skill to skip update checks.
lap/cli/main.py:1380
↓ 2 callers
Function
cmd_skill_install
Install a skill from the LAP registry.
lap/cli/main.py:976
↓ 2 callers
Function
cmd_unpin
Unpin a skill to resume update checks.
lap/cli/main.py:1393
↓ 2 callers
Function
compileAsyncApi
(specPath: string)
sdks/typescript/src/compilers/asyncapi.ts:621
↓ 2 callers
Function
compileAwsSdk
(specPath: string)
sdks/typescript/src/compilers/aws-sdk.ts:98
↓ 2 callers
Function
compileGraphql
(specPath: string)
sdks/typescript/src/compilers/graphql.ts:436
↓ 2 callers
Function
compileMessage
(msg: unknown, spec: Obj)
sdks/typescript/src/compilers/asyncapi.ts:339
↓ 2 callers
Function
compilePostman
(specPath: string)
sdks/typescript/src/compilers/postman.ts:462
↓ 2 callers
Function
compileProtobuf
(specPath: string)
sdks/typescript/src/compilers/protobuf.ts:143
↓ 2 callers
Function
compileSmithySpec
(specPath: string)
sdks/typescript/src/compilers/smithy.ts:105
↓ 2 callers
Function
compile_proto_dir
Compile all .proto files in a directory.
lap/core/compilers/protobuf.py:776
↓ 2 callers
Function
computeSpecHash
(content: string)
sdks/typescript/src/cli.ts:206
↓ 2 callers
Function
convert_file
Convert a LAP file to OpenAPI YAML.
lap/core/converter.py:236
↓ 2 callers
Function
enhanceSkill
(spec: LAPSpec, skill: SkillOutput, apiKey?: string)
sdks/typescript/src/skill_llm.ts:52
↓ 2 callers
Function
entryHasLapsh
(entry: any)
sdks/typescript/src/cli.ts:851
↓ 2 callers
Function
extractAuth
(spec: Record<string, unknown>)
sdks/typescript/src/compilers/openapi.ts:341
↓ 2 callers
Function
extractProtocolBinding
(bindings: Obj | undefined, spec: Obj)
sdks/typescript/src/compilers/asyncapi.ts:303
↓ 2 callers
Function
extract_params
Extract required and optional params from OpenAPI parameters.
lap/core/compilers/openapi.py:95
↓ 2 callers
Function
extract_response_schemas
Extract typed response and error schemas from OpenAPI responses.
lap/core/compilers/openapi.py:200
↓ 2 callers
Function
findMatchingBrace
Parse a balanced brace-delimited block starting at `text[start]` which should be '{'.
sdks/typescript/src/parser.ts:119
↓ 2 callers
Function
getBrowserLaunchCommand
( url: unknown, platform: NodeJS.Platform = process.platform )
sdks/typescript/src/auth.ts:235
↓ 2 callers
Function
getGroups
(spec: LAPSpec)
sdks/typescript/src/skill.ts:91
↓ 2 callers
Function
gqlTypeToLap
Convert a GraphQL SDL type reference to LAP type string.
sdks/typescript/src/compilers/graphql.ts:35
↓ 2 callers
Function
guessType
(val: unknown)
sdks/typescript/src/compilers/postman.ts:297
↓ 2 callers
Function
inferAuthFromDescription
(spec: Record<string, unknown>)
sdks/typescript/src/compilers/openapi.ts:324
↓ 2 callers
Function
introspectionTypeToLap
(typeObj: Obj | undefined)
sdks/typescript/src/compilers/graphql.ts:276
↓ 2 callers
Method
load
(self)
sdks/python/lap/middleware.py:18
↓ 2 callers
Function
load_credentials
Load credentials from disk. Returns dict or None.
lap/cli/auth.py:82
↓ 2 callers
Method
load_full
Load as a single document with full context.
sdks/python/lap/middleware.py:59
↓ 2 callers
Function
makeParam
(name: string, type: string, required: boolean, description: string)
sdks/typescript/src/compilers/graphql.ts:148
↓ 2 callers
Function
parseBraceContent
(line: string)
sdks/typescript/src/parser.ts:246
↓ 2 callers
Function
parseErrors
(line: string)
sdks/typescript/src/parser.ts:276
↓ 2 callers
Function
parseParams
(inner: string, required: boolean)
sdks/typescript/src/parser.ts:187
↓ 2 callers
Function
parseReturns
(line: string)
sdks/typescript/src/parser.ts:253
↓ 2 callers
Function
parseTrustedWebUrl
(value: unknown, label: string)
sdks/typescript/src/auth.ts:35
↓ 2 callers
Function
protoTypeToLap
(protoType: string, repeated: boolean)
sdks/typescript/src/compilers/protobuf.ts:39
↓ 2 callers
Function
read_file_safe
Read a file with size limit. Returns None if file doesn't exist or is too large.
lap/core/utils.py:62
↓ 2 callers
Function
registerClaudeHook
(command: string)
sdks/typescript/src/cli.ts:734
↓ 2 callers
Function
registerCodexHook
(command: string)
sdks/typescript/src/cli.ts:802
↓ 2 callers
Function
registerCursorHook
(command: string)
sdks/typescript/src/cli.ts:767
↓ 2 callers
Function
removeCursorUpdateRule
(homeOverride?: string)
sdks/typescript/src/cli.ts:931
↓ 2 callers
Function
removeHookEntries
(configPath: string, eventKeys: string[])
sdks/typescript/src/cli.ts:860
↓ 2 callers
Function
removeMdHookInstruction
(dotDir: string, filename: string, homeOverride?: string)
sdks/typescript/src/cli.ts:908
↓ 2 callers
Function
replaceSection
(md: string, sectionName: string, newContent: string)
sdks/typescript/src/skill_llm.ts:46
↓ 2 callers
Function
resolveLayer
(explicit: number | undefined)
sdks/typescript/src/cli.ts:77
↓ 2 callers
Function
resolveSkillTarget
(name: string, explicitTarget?: SkillTarget)
sdks/typescript/src/cli.ts:839
↓ 2 callers
Function
resolveVariables
(text: string, variables: Record<string, string>)
sdks/typescript/src/compilers/postman.ts:64
↓ 2 callers
Function
saveCredentials
(token: string, username: string)
sdks/typescript/src/auth.ts:88
↓ 2 callers
Method
search
( registryUrl: string, query: string, options?: { tag?: string; sort?: string; limit?: number; off
sdks/typescript/src/client.ts:27
↓ 2 callers
Function
serializeParam
(param: Param, lean = false)
sdks/typescript/src/serializer.ts:26
↓ 2 callers
Function
serializeResponseField
(field: ResponseField, lean = false, depth = 0)
sdks/typescript/src/serializer.ts:50
↓ 2 callers
Function
smithyTypeToLap
( shapeId: string, shapes: Record<string, SmithyShape>, visited?: Set<string>, )
sdks/typescript/src/compilers/smithy.ts:272
↓ 2 callers
Method
token_count
Count tokens using tiktoken (falls back to char estimate).
sdks/python/lap/client.py:84
↓ 2 callers
Function
validateAuthUrl
(value: unknown)
sdks/typescript/src/auth.ts:231
↓ 2 callers
Function
validate_registry_url
Validate a registry base URL and normalize trailing slashes.
lap/cli/auth.py:65
↓ 1 callers
Function
_all_params
(ep: Endpoint)
lap/core/differ.py:62
↓ 1 callers
Function
_arg_to_param
Convert a GraphQL argument to a LAP Param.
lap/core/compilers/graphql.py:254
↓ 1 callers
Function
_build_shape_index
Build {shape_id: shape_def} lookup dictionary. Makes shape resolution O(1) instead of O(n).
lap/core/compilers/smithy.py:217
↓ 1 callers
Function
_build_smithy_project
Build Smithy project and extract JSON AST.
lap/core/compilers/smithy.py:180
↓ 1 callers
Function
_build_type_index
Build a lookup of message/enum name → definition.
lap/core/compilers/protobuf.py:427
↓ 1 callers
Function
_can_reach_registry
Quick check: can we reach the registry?
tests/test_lap_skill.py:576
↓ 1 callers
Function
_check_coverage
Check what percentage of spec endpoints appear in the skill catalog.
benchmarks/benchmark_skill.py:131
↓ 1 callers
Function
_compact_field
Serialize a field compactly: name(args): Type!
lap/core/compilers/graphql.py:82
↓ 1 callers
Function
_compact_field_lean
Serialize a field compactly with lean optimizations.
lap/core/compilers/graphql.py:144
↓ 1 callers
Function
_compile_field
Compile a single Query/Mutation/Subscription field to an Endpoint.
lap/core/compilers/graphql.py:311
↓ 1 callers
Function
_compile_v2
Compile AsyncAPI 2.x spec.
lap/core/compilers/asyncapi.py:254
↓ 1 callers
Function
_compile_v3
Compile AsyncAPI 3.x spec.
lap/core/compilers/asyncapi.py:339
↓ 1 callers
Function
_count_type_refs
Count how many times each message type is referenced in RPC responses/requests.
lap/core/compilers/protobuf.py:610
↓ 1 callers
Function
_demote_headings
Ensure all headings in LLM output are ### or lower (never ##).
lap/core/compilers/skill_llm.py:160
↓ 1 callers
Function
_diff_endpoint
(old_ep: Endpoint, new_ep: Endpoint, key: str, result: DiffResult)
lap/core/differ.py:125
↓ 1 callers
Function
_diff_skill
Compare installed skill spec vs registry latest.
lap/cli/main.py:1667
↓ 1 callers
Function
_enhance_via_cli
Call claude CLI as a subprocess, piping the prompt via stdin.
lap/core/compilers/skill_llm.py:51
↓ 1 callers
Function
_enhance_via_sdk
Fallback: call the Anthropic SDK directly (for CI environments).
lap/core/compilers/skill_llm.py:72
↓ 1 callers
Function
_ensure_cursor_update_rule
Add LAP update always-apply rule to ~/.cursor/rules/ (idempotent).
lap/cli/main.py:947
↓ 1 callers
Function
_ensure_md_hook_instruction
Add LAP hook instruction to a markdown config file (idempotent).
lap/cli/main.py:934
↓ 1 callers
Function
_entry_has_lapsh
Check if a hook entry contains a lapsh command (any format).
lap/cli/main.py:1098
↓ 1 callers
Function
_enum_str
Convert enum value to string, fixing YAML boolean corruption.
lap/core/formats/lap.py:16
↓ 1 callers
Function
_enum_str
Convert enum value to string, fixing YAML boolean corruption.
lap/core/formats/lap_tools.py:16
↓ 1 callers
Function
_ep_key
(ep: Endpoint)
lap/core/differ.py:58
↓ 1 callers
Function
_error_codes
(ep: Endpoint)
lap/core/differ.py:81
↓ 1 callers
Function
_extract_auth_scheme
Extract authentication scheme from metadata.
lap/core/compilers/aws_sdk.py:123
↓ 1 callers
Function
_extract_base_url
Extract base URL from collection variables or first request.
lap/core/compilers/postman.py:31
↓ 1 callers
Function
_extract_braced
Extract content between matching braces starting at position start. Returns (content, end_position). Raises ParseError on unmatched braces.
lap/core/parser.py:236
↓ 1 callers
Function
_extract_header_params
Extract non-standard header parameters.
lap/core/compilers/postman.py:126
↓ 1 callers
Function
_extract_operation_errors
Extract error codes and types from error shapes.
lap/core/compilers/smithy.py:630
↓ 1 callers
Function
_extract_operation_output
Build response schema from output structure.
lap/core/compilers/smithy.py:607
↓ 1 callers
Function
_extract_operation_params
Extract parameters from operation input.
lap/core/compilers/aws_sdk.py:237
↓ 1 callers
Function
_extract_path_params
Extract path variables from Postman URL object.
lap/core/compilers/postman.py:151
↓ 1 callers
Function
_extract_response_fields
Extract response fields from a GraphQL output type.
lap/core/compilers/graphql.py:282
↓ 1 callers
Function
_extract_response_schemas
Extract response schemas from Postman response examples.
lap/core/compilers/postman.py:252
↓ 1 callers
Function
_field_to_openapi
Convert a ResponseField to OpenAPI schema.
lap/core/converter.py:65
↓ 1 callers
Function
_find_first_endpoint
Find the first endpoint matching a method. If is_list, prefer paths without {id}.
lap/core/compilers/skill.py:546
↓ 1 callers
Function
_find_line_comment
Find the start index of a // comment, respecting string literals. Returns -1 if none.
lap/core/compilers/protobuf.py:92
↓ 1 callers
Function
_generate_claude_frontmatter
Generate Claude Code YAML frontmatter with name, description, version, and generator.
lap/core/compilers/skill.py:219
↓ 1 callers
Function
_generate_cli_section
Generate CLI section with commands for spec management.
lap/core/compilers/skill.py:484
↓ 1 callers
Function
_generate_codex_cli_section
Generate CLI section optimized for Codex sandbox (curl primary, npx fallback).
lap/core/compilers/skill.py:503
↓ 1 callers
Function
_generate_cursor_frontmatter
Generate Cursor .mdc frontmatter (description + alwaysApply).
lap/core/compilers/skill.py:246
← previous
next →
201–300 of 1,430, ranked by callers