Skip to content

docs: add Copilot gRPC service to extension framework documentation#7222

Merged
rajeshkamal5050 merged 1 commit intoAzure:mainfrom
wbreza:docs/copilot-grpc-service
Mar 20, 2026
Merged

docs: add Copilot gRPC service to extension framework documentation#7222
rajeshkamal5050 merged 1 commit intoAzure:mainfrom
wbreza:docs/copilot-grpc-service

Conversation

@wbreza
Copy link
Copy Markdown
Contributor

@wbreza wbreza commented Mar 20, 2026

Summary

Add documentation for the CopilotService gRPC API to the extension framework docs, bringing it in line with the 13 existing gRPC service sections.

Changes

  • Document all 7 CopilotService RPCs in extension-framework.md:
    • Initialize - Client warm-up and config resolution
    • ListSessions - Browse existing sessions by directory
    • SendMessage - Core prompt API with lazy session creation and resumption
    • GetUsageMetrics - Cumulative token and billing tracking
    • GetFileChanges - File creation, modification, and deletion tracking
    • StopSession - Session cleanup
    • GetMessages - Session event log retrieval
  • Add a Go code example demonstrating the full session lifecycle (init, send, follow-up, metrics, file changes, stop)
  • Add Copilot Service entry to both the top-level and section-level tables of contents

Details

The new section follows the same structure and style as the other gRPC service sections: level-3 heading, introductory paragraph, proto file link blockquote, level-4 method headings with request/response specifications, a Go usage example, and a use-cases list.

All content is sourced from copilot.proto and the demo extension implementation.

Document the CopilotService gRPC API in the extension framework docs,
covering all 7 RPCs: Initialize, ListSessions, SendMessage,
GetUsageMetrics, GetFileChanges, StopSession, and GetMessages.

Includes request/response type specifications, a Go usage example
demonstrating the full session lifecycle, and use cases. Follows
the same structure and style as existing gRPC service sections.

Adds the Copilot Service entry to both the top-level and
section-level tables of contents.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 20, 2026 17:46
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@wbreza wbreza added blocker Blocks release or critical path and removed blocker Blocks release or critical path labels Mar 20, 2026
@rajeshkamal5050 rajeshkamal5050 enabled auto-merge (squash) March 20, 2026 18:00
@rajeshkamal5050
Copy link
Copy Markdown
Contributor

/check-enforcer override

@rajeshkamal5050 rajeshkamal5050 merged commit 9a739f2 into Azure:main Mar 20, 2026
8 checks passed
jongio pushed a commit to jongio/azure-dev that referenced this pull request Mar 27, 2026
…zure#7222)

Document the CopilotService gRPC API in the extension framework docs,
covering all 7 RPCs: Initialize, ListSessions, SendMessage,
GetUsageMetrics, GetFileChanges, StopSession, and GetMessages.

Includes request/response type specifications, a Go usage example
demonstrating the full session lifecycle, and use cases. Follows
the same structure and style as existing gRPC service sections.

Adds the Copilot Service entry to both the top-level and
section-level tables of contents.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jongio pushed a commit to jongio/azure-dev that referenced this pull request Mar 27, 2026
…zure#7222)

Document the CopilotService gRPC API in the extension framework docs,
covering all 7 RPCs: Initialize, ListSessions, SendMessage,
GetUsageMetrics, GetFileChanges, StopSession, and GetMessages.

Includes request/response type specifications, a Go usage example
demonstrating the full session lifecycle, and use cases. Follows
the same structure and style as existing gRPC service sections.

Adds the Copilot Service entry to both the top-level and
section-level tables of contents.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jongio pushed a commit to jongio/azure-dev that referenced this pull request Mar 27, 2026
…zure#7222)

Document the CopilotService gRPC API in the extension framework docs,
covering all 7 RPCs: Initialize, ListSessions, SendMessage,
GetUsageMetrics, GetFileChanges, StopSession, and GetMessages.

Includes request/response type specifications, a Go usage example
demonstrating the full session lifecycle, and use cases. Follows
the same structure and style as existing gRPC service sections.

Adds the Copilot Service entry to both the top-level and
section-level tables of contents.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jongio pushed a commit to jongio/azure-dev that referenced this pull request Mar 27, 2026
…zure#7222)

Document the CopilotService gRPC API in the extension framework docs,
covering all 7 RPCs: Initialize, ListSessions, SendMessage,
GetUsageMetrics, GetFileChanges, StopSession, and GetMessages.

Includes request/response type specifications, a Go usage example
demonstrating the full session lifecycle, and use cases. Follows
the same structure and style as existing gRPC service sections.

Adds the Copilot Service entry to both the top-level and
section-level tables of contents.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jongio pushed a commit to jongio/azure-dev that referenced this pull request Mar 27, 2026
…zure#7222)

Document the CopilotService gRPC API in the extension framework docs,
covering all 7 RPCs: Initialize, ListSessions, SendMessage,
GetUsageMetrics, GetFileChanges, StopSession, and GetMessages.

Includes request/response type specifications, a Go usage example
demonstrating the full session lifecycle, and use cases. Follows
the same structure and style as existing gRPC service sections.

Adds the Copilot Service entry to both the top-level and
section-level tables of contents.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
achauhan-scc pushed a commit to achauhan-scc/azure-dev that referenced this pull request Apr 2, 2026
…zure#7222)

Document the CopilotService gRPC API in the extension framework docs,
covering all 7 RPCs: Initialize, ListSessions, SendMessage,
GetUsageMetrics, GetFileChanges, StopSession, and GetMessages.

Includes request/response type specifications, a Go usage example
demonstrating the full session lifecycle, and use cases. Follows
the same structure and style as existing gRPC service sections.

Adds the Copilot Service entry to both the top-level and
section-level tables of contents.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants